Struct members can be used with C style dot notation. Here is an example:
1: #line 559 "./lpsrc/flx_tutorial.pak" 2: #import <flx.flxh> 3: 4: struct XY { 5: x : int; 6: y : int; 7: } 8: 9: var xy : XY; 10: xy.x = 1; 11: xy.y = 2; 12: print xy.x; endl; 13: print xy.y; endl;
1: #line 577 "./lpsrc/flx_tutorial.pak" 2: #import <flx.flxh> 3: 4: struct XY = { 5: x : int; 6: y : int; 7: } 8: 9: val xy = XY(1,2); 10: print xy.x; endl; 11: print xy.y; endl; 12: