Variables and Procedures - v1.18.0

You may use the nav bar to the left to select pages.

Below is a listing of all commands and a brief description for each.

AddEpilogue

Add code to the end of a proc.

AddPrologue

Add code to the beginning of a proc.

Flip

Change value to zero if it is one and vice versa.

MultiSet

Take list and copy values to variables, like lassign.

PrintVar

Print out both the variable name and its value.

PrintVars

Print out the value of each of the variables passed in.

RetZeroIfEmpty

Return zero if passed empty string.

SetZeroIfEmpty

Take variable and make it zero if it is empty.

Swap

Swap the values of two variables.

UpvarExistingOrDie

Do upvar if variable exists, else generate error.

UpvarX

Do upvar. If made new variable, then set to default.

VarExistsInCaller

Check if variable exists some levels up.