User Tools

Site Tools


crpl:docs:read

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
crpl/docs/read.txt · Last modified: 2022/06/25 13:08 by Karsten75