Changeset 1219 for sans/Dev/trunk/NCNR_User_Procedures/Common/Packages
- Timestamp:
- Oct 4, 2019 8:56:43 AM (3 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Common/Packages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/LinearizedFits/LinearizedFits_v40.ipf
r888 r1219 524 524 // ShortFileNameString is the currently selected data set, so make the user find the right data set 525 525 // 526 Variable maxLength=25 526 Variable maxLength 527 if(IgorVersion() < 8) 528 maxLength = 25 529 else 530 maxLength = 40 531 endif 532 527 533 if(strlen(partialName) > maxLength) 528 534 // get user input, from a list of all of the data folder names -
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf
r1164 r1219 1086 1086 // returns a shortened file name (26 characters max) so that the loader 1087 1087 // won't try to create Igor objects that have names that are longer than 31 1088 // 1088 // 1089 // if Igor 8+, use longer names (within reason) 1090 // 1089 1091 Function/S ShortFileNameString(inStr) 1090 1092 String inStr 1091 1093 1092 1094 String outStr="" 1093 Variable maxLength=25 1095 Variable maxLength 1096 1097 if(IgorVersion() < 8) 1098 maxLength = 25 1099 else 1100 maxLength = 40 1101 endif 1102 1103 1094 1104 Variable nameTooLong=0 1095 1105 String/G root:Packages:NIST:gShortNameStr = inStr[0,maxLength-1]
Note: See TracChangeset
for help on using the changeset viewer.