- This wiki is out of date, use the continuation of this wiki instead
 
Datatypes
From FenixWiki
Definition
Datatypes are the types which data can be. These include integers, floats, string, etc. Special cases are voids, arrays, varspaces and structs. User made types can also be defined, by use of the operator Type.
List
11 datatypes
Example
Program datatypes;
    Type _point
        int x;
        int y;
    End
Private
    _point A,B;
Begin
    A.x = 100;
    A.y = 50;
    B.x = 250;
    B.y = 150;
    drawing_map(0,0);
    drawing_color(rgb(0,255,255));
    drw_box(A,B);
    Loop frame; End
End
Function int drw_box(_point A, _point B)
Begin
    return draw_box(A.x,A.y,B.x,B.y);
End
Used in example: drawing_map(), drawing_color(), rgb(), draw_box()
