- Timestamp:
- Jul 15, 2008 11:19:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/SANS/Reduction/WriteQIS.ipf
r328 r393 811 811 812 812 // returns the path to the file, or null if the user cancelled 813 Function/S DoSaveFileDialog(msg) 814 String msg 813 // fancy use of optional parameters 814 Function/S DoSaveFileDialog(msg,[fname,suffix]) 815 String msg,fname,suffix 815 816 Variable refNum 816 817 // String message = "Save the file as" 817 String outputPath 818 819 Open/D/M=msg/T="????" refNum 818 819 if(ParamIsDefault(fname)) 820 // Print "fname not supplied" 821 fname = "" 822 endif 823 if(ParamIsDefault(suffix)) 824 // Print "suffix not supplied" 825 suffix = "" 826 endif 827 828 String outputPath,tmpName 829 tmpName = fname + suffix 830 831 Open/D/M=msg/T="????" refNum as tmpName 820 832 outputPath = S_fileName 821 833
Note: See TracChangeset
for help on using the changeset viewer.