Difficulties with "write" in procedures
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
There are problems with write, if it's used inside of procedures. It won't evaluate the following lines:
write to_uppercase("Blackbox view") -set file="<savepath>/result.txt" -noquotes -mode=append
write to_uppercase("Blackbox view") -set file=<savepath>/result.txt -noquotes -mode=append
Analysis:
Error is related with an extra whitespace at the beginning of the line. This is not recognized as command expression in
int BI_CheckKeyword(string&, Datafile&, Output&, Settings&, Parser&, Define&, PlotData&, Script&, bool)
Implementation:
Changed all occurences of sCmd[0] to sCommand[0], what is actually the correct version for the conditions in which sCmd[0] was used.
Documentation:
Not needed - bug fix.
Tests:
Fix was tested in the context of its error occurence. No deviations detected. Fix was implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: