SYNOPSIS:

datatype: Eccet expressions can use variables of different types.

DESCRIPTION:

Variables or expressions in eccet can have different data types.
The most basic data types are integers, doubles and
/string/s.

To handle error cases or the return codes from functions that
have no reasonable data to return, the void datatype is used.
As in Eccet functions are handled just like variables,
there is also a datatype "function".

To aggregate objects of the same or differing type, arrays and
/struct/s can be used. Note, that eccet arrays can have alphanumeric
index values, so they are more like PHP or Perl hashes.

Apart from the syntactical difference (access using [] instead of
.) there is little difference between arrays and structs in Eccet.
However, it is strongly recommended to use arrays to collect objects
that are similar in structure, while structs should be used to
collect objects with different structure.

SEE ALSO:

integer, double, string, void, function, array, struct