@@ -49,9 +49,9 @@ StrConstant declarationLines = "lines"
4949// 1D Wave in each row having the procedure id for the corresponing element in lines
5050StrConstant procedureWave = "procs"
5151// 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"
5555// Maximum Waves that will be saved in Experiment. first in first out.
5656static Constant CsaveMaximum = 1024
5757
@@ -764,8 +764,8 @@ static Function saveResults(procedure)
764764 Wave /T helpWave = getHelpWave ()
765765
766766 Wave /WAVE SaveWavesWave = getSaveWaves ()
767- Wave /T SaveStringsWave = getSaveStrings ()
768- Wave SaveVariablesWave = getSaveVariables ()
767+ Wave /T SaveStringsWave = getSaveStrings ()
768+ Wave SaveVariablesWave = getSaveVariables ()
769769
770770 Variable endOfWave = Dimsize ( SaveWavesWave, 0 )
771771
@@ -787,8 +787,8 @@ static Function saveResults(procedure)
787787 Duplicate / FREE declWave myFreeDeclWave
788788 Duplicate / FREE lineWave myFreeLineWave
789789 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 ()
792792 SaveWavesWave[ procedure. row][ 0 ] = myFreeDeclWave
793793 SaveWavesWave[ procedure. row][ 1 ] = myFreeLineWave
794794 SaveWavesWave[ procedure. row][ 2 ] = myFreeHelpWave
@@ -823,7 +823,7 @@ static Function saveLoad(procedure)
823823
824824 Wave /WAVE SaveWavesWave = getSaveWaves ()
825825 Wave /T SaveStringsWave = getSaveStrings ()
826- Wave SaveVariablesWave = getSaveVariables ()
826+ Wave SaveVariablesWave = getSaveVariables ()
827827
828828 // if maximum storage capacity was reached (procedure.row == -1) or
829829 // Element not found (procedure.row == endofWave) --> nothing loadable
@@ -905,8 +905,8 @@ static Function savePush()
905905 MatrixOp / O SaveVariables = rotateRows ( SaveVariables, ( endofWave - 1 ))
906906 // MatrixOP is strictly numeric (but fast)
907907 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]
910910 endfor
911911End
912912
918918// Kill all storage objects
919919//
920920// 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+ //
922923Function KillStorage ()
923924 Wave savedVariablesWave = getSaveVariables ()
924925 Wave /T SavedStringsWave = getSaveStrings ()
@@ -1256,7 +1257,7 @@ Function/S getIMProcWindows(moduleName)
12561257 filter = "*"
12571258 endif
12581259 sprintf regexp, "%s [%s]" , filter, moduleName
1259- return getProcWindows ( regexp, "INDEPENDENTMODULE:1" )
1260+ return getProcWindows ( regexp, "INDEPENDENTMODULE:1" )
12601261End
12611262
12621263// Low level implementation, returns a sorted list of procedure windows matching regexp and options
0 commit comments