01-05-2005, 06:00 AM
No idea, it isn't so simple to add, parser module just for variables is already ~800 lines long, 'cause all the ambiguities with BASIC vars, ugh.
There will be no way to use () for pointer indexing, for example, it will have to be [] -- i am thinking about making it an C array, so you could do like: myptr[dim2][dim1], no info about the array is needed, as n-dimensional C arrays are arrays of pointers of pointers and so on (in PB you have to do: myptr[dim1 of 4, dim2 of 2] for example, i don't like it.
There will be no way to use () for pointer indexing, for example, it will have to be [] -- i am thinking about making it an C array, so you could do like: myptr[dim2][dim1], no info about the array is needed, as n-dimensional C arrays are arrays of pointers of pointers and so on (in PB you have to do: myptr[dim1 of 4, dim2 of 2] for example, i don't like it.
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php