User guide

y = x*3;
Ifanexpressionhasnoassignmentoperator(=),itwillbeassumedtobeanimplicit
printstatement:
print x*3;
or
x*3;
Hereisanexampleofastatementthatisacommandratherthananexpression:
output on;
Commandscannotbeusedasapartofanexpression.
Therecanbemultiplestatementsonthesamelineaslongaseachstatementister-
minatedwithasemicolon.
9.2.1 Executable Statements
Executablestatementsarestatementsthatcanbe"executed"overandoverduringthe
executionphaseofaGAUSSprogram(executiontime).Asanexecutablestatementis
compiled,binarycodeisaddedtotheprogrambeingcompiledatthecurrentlocationof
theinstructionpointer.Thisbinarycodewillbeexecutedwhenevertheinterpreter
passesthroughthissectionoftheprogram.Ifthiscodeisinaloop,itwillbeexecuted
eachiterationoftheloop.
Herearesomeexamplesofexecutablestatements:
y = 34.25;
print y;
9-2
GAUSSUser Guide