Create new empty local variable

local name
(local name1 name2 ...)
local [name1 name2 ...]

Creates a new local variable if local variable with a name is not yet existing, with no initial value assigned to the new variable (nullp returns true).
Multiple variables can be created using optional arguments or a list of names passed as an argument of the instruction.


local "x
print null? :x
make "x 1
print null? :x



See also:

Zmienne w POOL
global - create new empty global variable
shared - create new empty shared variable
make, name - set or create global variable
nullp, null? - is this an empty value?
namep, name? - is variable defined?

Table of Content