@@ -49,9 +49,9 @@ StrConstant declarationLines = "lines"
49
49
// 1D Wave in each row having the procedure id for the corresponing element in lines
50
50
StrConstant procedureWave = "procs"
51
51
// database-like global multidimensional waves for storing parsing results to minimize time.
52
- static StrConstant CsaveStrings = "saveStrings"
53
- static Strconstant CSaveVariables = "saveVariables"
54
- static StrConstant CsaveWaves = "saveWaves"
52
+ static StrConstant CsaveStrings = "saveStrings"
53
+ static Strconstant CSaveVariables = "saveVariables"
54
+ static StrConstant CsaveWaves = "saveWaves"
55
55
// Maximum Waves that will be saved in Experiment. first in first out.
56
56
static Constant CsaveMaximum = 1024
57
57
@@ -764,8 +764,8 @@ static Function saveResults(procedure)
764
764
Wave /T helpWave = getHelpWave ()
765
765
766
766
Wave /WAVE SaveWavesWave = getSaveWaves ()
767
- Wave /T SaveStringsWave = getSaveStrings ()
768
- Wave SaveVariablesWave = getSaveVariables ()
767
+ Wave /T SaveStringsWave = getSaveStrings ()
768
+ Wave SaveVariablesWave = getSaveVariables ()
769
769
770
770
Variable endOfWave = Dimsize ( SaveWavesWave, 0 )
771
771
@@ -787,8 +787,8 @@ static Function saveResults(procedure)
787
787
Duplicate / FREE declWave myFreeDeclWave
788
788
Duplicate / FREE lineWave myFreeLineWave
789
789
Duplicate / FREE helpWave myFreeHelpWave
790
- SaveStringsWave[ procedure. row][ 0 ] = procedure. id
791
- SaveStringsWave[ procedure. row][ 1 ] = getChecksum ()
790
+ SaveStringsWave[ procedure. row][ 0 ] = procedure. id
791
+ SaveStringsWave[ procedure. row][ 1 ] = getChecksum ()
792
792
SaveWavesWave[ procedure. row][ 0 ] = myFreeDeclWave
793
793
SaveWavesWave[ procedure. row][ 1 ] = myFreeLineWave
794
794
SaveWavesWave[ procedure. row][ 2 ] = myFreeHelpWave
@@ -823,7 +823,7 @@ static Function saveLoad(procedure)
823
823
824
824
Wave /WAVE SaveWavesWave = getSaveWaves ()
825
825
Wave /T SaveStringsWave = getSaveStrings ()
826
- Wave SaveVariablesWave = getSaveVariables ()
826
+ Wave SaveVariablesWave = getSaveVariables ()
827
827
828
828
// if maximum storage capacity was reached (procedure.row == -1) or
829
829
// Element not found (procedure.row == endofWave) --> nothing loadable
@@ -905,8 +905,8 @@ static Function savePush()
905
905
MatrixOp / O SaveVariables = rotateRows ( SaveVariables, ( endofWave - 1 ))
906
906
// MatrixOP is strictly numeric (but fast)
907
907
for ( i =0; i < endofWave; i +=1 )
908
- SaveWavesWave[ i ][] = SaveWavesWave[( i + 1 )][ q]
909
- SaveStrings[ i ][] = SaveStrings[( i + 1 )][ q]
908
+ SaveWavesWave[ i ][] = SaveWavesWave[( i + 1 )][ q]
909
+ SaveStrings[ i ][] = SaveStrings[( i + 1 )][ q]
910
910
endfor
911
911
End
912
912
918
918
// Kill all storage objects
919
919
//
920
920
// note: if objects are in use they can not be killed.
921
- // therefore the function resets all variables before killing
921
+ // therefore the function resets all variables before killing
922
+ //
922
923
Function KillStorage ()
923
924
Wave savedVariablesWave = getSaveVariables ()
924
925
Wave /T SavedStringsWave = getSaveStrings ()
@@ -1256,7 +1257,7 @@ Function/S getIMProcWindows(moduleName)
1256
1257
filter = "*"
1257
1258
endif
1258
1259
sprintf regexp, "%s [%s]" , filter, moduleName
1259
- return getProcWindows ( regexp, "INDEPENDENTMODULE:1" )
1260
+ return getProcWindows ( regexp, "INDEPENDENTMODULE:1" )
1260
1261
End
1261
1262
1262
1263
// Low level implementation, returns a sorted list of procedure windows matching regexp and options
0 commit comments