2011

Table Of Contents
eq
If the strings val1 and val2 are identical, the string returns 1; otherwise, it
returns 0.
$(eq, val1, val2)
The following expression gets the name of the current layer; if the name
matches the string value stored in the USERS1 (USERS1-5) system variable, it
returns 1. Assume the string "PART12" is stored in USERS1 and the current
layer is the same.
$(eq, $(getvar,users1),$(getvar,clayer))Returns 1
Quick Reference
System Variables
MENUECHO
Sets menu echo and prompt control bits.
eval
Passes the string str to the DIESEL evaluator and returns the result of
evaluating it.
$(eval, str)
Quick Reference
System Variables
MENUECHO
Sets menu echo and prompt control bits.
fix
Truncates the real number value to an integer by discarding any fractional
part.
$(fix, value)
82 | Chapter 5 DIESEL