sgs_IncDec [function]
void sgs_IncDec( sgs_Context* C, sgs_Variable* out, sgs_Variable* A, int inc )
Increment or decrement the specified variable A
to the output out
.
This function prints errors, exactly like VM would (internally there are the same functions).
- If inc is non-zero, variable is incremented; otherwise it is decremented.