Variables

Set

Setting variables in Evaluate is quite similar to C in some areas. For example, strings are null-terminated.

The template for defining variables is <type> <id> = <value>

For example, defining a 16-bit integer would be:

Int_16 myInt = 12

The valid types are:

  • Char

  • String

  • Int_8

  • Int_16

  • Int_32

  • Int_64

Get

To get variables in Evaluate, in any string, you can use {yourvariable}. This gets replaced with the value inside the variable.

Last updated