Post Reply 
full documentation to use EVAL cmd
11-03-2016, 11:44 AM
Post: #1
full documentation to use EVAL cmd
Eval says

Quote:Syntax:
EVAL(Expr)
Useful in programs where parameters are passed unevaluated with the command QUOTE.
Example:
EVAL('2+3') → 5

but the documentation is incomplete (HELP key)

Please add the following

eval(id,#); very useful to explore the contents of each variable =)

Example

w:=x; [enter] x
x:=y; [enter] y
y:=z; [enter] z

w; [enter] z =(
but

eval(w,1); x
eval(w,2); y
eval(w,3); z

eval(w,4); z
eval(w,0); w
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)