User guide

9.10.7 Assignment Statements
Theassignmentoperatoristheequalsign'=':
y = x + z;
Multipleassignmentsmustbeenclosedinbraces'{ }'.Thestatement:
mant,pow = base10(x);
isincorrect.Itshouldbe:
{ mant, pow } = base10(x);
Thecomparisonoperator(equalto)istwoequalsigns'==':
if x == y;
print "x is equal to y";
endif;
9-44
GAUSSUser Guide
Language
Fundamentals