- Timestamp:
- Oct 16, 2014 10:59:26 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ILL_Utils.ipf
r940 r947 1052 1052 End 1053 1053 1054 Function/S GetASCDataFileList() 1055 1056 //make sure that path exists 1057 PathInfo catPathName 1058 if (V_flag == 0) 1059 Abort "Folder path does not exist - use Pick Path button on Main Panel" 1060 Endif 1061 1062 String list=IndexedFile(catPathName,-1,"????") 1063 String newList="",item="" 1064 Variable num=ItemsInList(list,";"),ii 1065 for(ii=0;ii<num;ii+=1) 1066 item = StringFromList(ii, list ,";") 1067 if(stringmatch(item,"*.ASC") ) 1068 newlist += item + ";" 1069 endif 1070 endfor 1071 1072 newList = SortList(newList,";",0) 1073 return(newList) 1074 End 1075 1076 1077 1054 1078 //********************** 1055 1079 // 2D resolution function calculation - in terms of X and Y
Note: See TracChangeset
for help on using the changeset viewer.