Author Topic: REDIM  (Read 1027 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
REDIM
« 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...

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3745
    • Oxygen Basic
Re: REDIM
« Reply #1 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.