User Tools

Site Tools


crpl:docs:read

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:read [2013/01/14 18:40] – created virgilwcrpl:docs:read [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|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 === 
 +<code> 
 +# Increment a variable named 'i' by 1 and store the result back in 'i'  
 +<-i 1 add ->i 
 +</code>  
crpl/docs/read.1358188838.txt.gz · Last modified: 2025/02/14 14:56 (external edit)