Lines Matching refs:filePath
325 proc SaveSettingFileFolder(string $filePath)
327 string $settingFolder = substitute("[^/]*$", $filePath, "");
363 global proc nw4cExpDialog_SaveSettingToFileDo(string $filePath)
373 if (match("\\.c3es$", $filePath) == "")
375 $filePath += ".c3es";
749 int $fid = fopen($filePath, "w");
752 ShowError("Can't open file: " + $filePath);
868 print ("Saved to " + $filePath + "\n");
874 global proc nw4cExpDialog_SaveSettingToFileFC(string $filePath, string $fileType)
878 SaveSettingFileFolder($filePath);
882 nw4cExpDialog_SaveSettingToFileDo($filePath);
916 global proc string nw4cExpDialog_GetOptionStringFromC3es(string $filePath)
990 int $fid = fopen($filePath, "r");
993 ShowError("Can't open file: " + $filePath);
1002 ShowError("c3es file is wrong: " + $filePath);
1375 global proc nw4cExpDialog_LoadSettingFromFileDo(string $filePath)
1379 $optStr = nw4cExpDialog_GetOptionStringFromC3es($filePath);
1398 print ("Loaded from " + $filePath + "\n");
1404 global proc nw4cExpDialog_LoadSettingFromFileFC(string $filePath, string $fileType)
1408 SaveSettingFileFolder($filePath);
1412 nw4cExpDialog_LoadSettingFromFileDo($filePath);
1435 string $filePath;
1442 $filePath = $paths[0];
1454 $filePath = `fileDialog -dm $dirMask`;
1456 if (size($filePath) > 0)
1458 nw4cExpDialog_LoadSettingFromFileFC($filePath, "");
1559 global proc nw4cExpDialog_OutFolderBrowserFC(string $filePath, string $fileType)
1561 textFieldGrp -e -tx $filePath nw4cExpDialog_OutFolder;