Oxygen Basic

Programming => Bugs & Feature Requests => Topic started by: Aurel on April 19, 2013, 04:20:41 AM

Title: REDIM
Post by: Aurel on April 19, 2013, 04:20:41 AM
Hi Charles..
do we have REDIM ?
and is SHARED current keyword for global scoped varaible because o2 not complain
about SHARED keyword...
i ask this few things because i have XBLite code which crete linked list with array of data..
so i would like to translate this code to Oxygen...
Title: Re: REDIM
Post by: Charles Pegge on April 19, 2013, 05:53:54 AM
Hi Aurel,

No there is no shared in Oxygen. Any variable defined outside a function or class is global. You can use the word global.

global d as double.

For redim, you need to use dynamic arrays. I have some macros for these.