- Timestamp:
- Mar 26, 2012 11:26:28 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Panel.ipf
r846 r849 178 178 179 179 LoadWave/M/O/W/P=home fileStr //will ask for a file, Igor Binary format is assumed here 180 if(V_flag == 0) 181 return(0) //user cancel 182 endif 183 180 184 String str 181 185 str=note(mat) … … 663 667 Variable isOn=0 664 668 String str 665 str = TraceNameList("winStr",";",1) //only normal traces 666 isOn = stringmatch(str,traceStr) //must be an exact match 669 str = TraceNameList(winStr,";",1) //only normal traces 670 isOn = strsearch(str,traceStr,0) //is the trace there? 671 isOn = isOn == -1 ? 0 : 1 // return 0 if not there, 1 if there 667 672 668 673 return(isOn)
Note: See TracChangeset
for help on using the changeset viewer.