Table of Contents

<- CRPL reference <- Vars and Functions

<-VARNAME

Syntax

<-VARNAME

Description

Reads the contents of the local variable VARNAME and pushes it to the stack. If VARNAME does not exist, 0 is pushed to the stack. Local variables persist across script invocations.

Examples

# Increment a variable named 'i' by 1 and store the result back in 'i' 
<-i 1 add ->i