Variable types

Top  Previous  Next

Scripts > Class elements and c++ instructions > Interpreted C++ instructions > Variable types

 

The TETRA interpreter knows elementary variable types, strings, nodes and container types and cursor types:

 

 

Type

Range of values

Default value (*)

 

 

 

bool

true/false (resp. 1/0)

false (resp. 0)

char

0-255

'\0'

int

-32768 - +32767

0

unsigned int

0 - 65565

0

double

-1.7E+308 - +1.7E+308   (15 digits)

0.0

str

 

""

node

 

node::npos

vector

 

empty

map

 

empty

cursor

 

--

function table

 

empty

 

* Default values are valid only inside of the interpreter. For the exported code, default values have to be set explicitely, if needed.



This page belongs to the TextTransformer Documentation

Home  Content  German