xboxscene.org forums

Pages: 1 [2]

Author Topic: Delete Command Not Working Right  (Read 184 times)

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Delete Command Not Working Right
« Reply #15 on: April 02, 2004, 06:31:00 AM »

You can stack a bunch of Elses like that? I thought when you use Else, it's a either or type of deal. Meaning you only use one.

But now that I thought about it, couldn't all this If, Else, ElseIf and Set stuff be done just as easily through a Switch?
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Delete Command Not Working Right
« Reply #16 on: April 02, 2004, 08:31:00 AM »

Not really

Switch doesn't let you do:

if x==1 then
blah
elseif y==2 then
blah
endif

As for the FOR problem, I would say fix it.  It might break a few scripts right now, but will prevent hours of hair-pulling later.
Logged
Pages: 1 [2]