Contents
Syntax
The syntax for
=(variables, value)
@=(variables, value)
Description
Note: It is typically faster to use exprtk for assignment operations, plus the syntax is nicer.
Note:
@=(x, 12)!
Options
The following options are available for
option | description |
---|---|
call follows with a block of text to assign | |
do not parse block of text with |
|
parse block with |
|
parse block with |
|
option | description |
f++ example
Examples of
- int a=10, b=12
- string str="hello, world!"
- =(a, $[b])
- =(a, b, 14)
- =(str, "hello, mars!")
n++ example
Examples of
- @int a=10, b=12
- @string str="hello, world!"
- @=(a, $[b])
- @=(a, b, 14)
- @=(str, "hello, mars!")