xboxscene.org forums

Author Topic: Arrays  (Read 89 times)

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Arrays
« on: January 04, 2004, 05:25:00 PM »

Is
... SET var%index% "TEST"
the same as
... SET var[index] "TEST"
and if index is 1, the same as
... SET var1 "TEST"
?
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Arrays
« Reply #1 on: January 04, 2004, 05:29:00 PM »

QUOTE (geniusalz @ Jan 4 2004, 09:25 PM)
Is
... SET var%index% "TEST"
the same as
... SET var[index] "TEST"
and if index is 1, the same as
... SET var1 "TEST"
?

Yes, that "should" work. I translate the environment names on sets, I do believe.


I need to go in and double check all commands using variable names directly, though (tomorrow, probably).

Logged