Skip to main content
Participant
February 22, 2007
Question

Create global array function

  • February 22, 2007
  • 1 reply
  • 223 views
I want to create a variable array (not array class) to store numbers. Here's what I'm hoping for:

_global.CrtElement= 0;
_global.BackStepArray = Array();

then later on I will assign a value to the first element:
BackStepArray[CrtElement] = 4

I don't want to use named arrays unless I have to. Can this be done?
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 22, 2007
yes, you can use variable array indexes (or keys). they can contain strings or integers. what's the issue?