HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

local[array] ?

10-24-2004, 07:51 AM#1
n\/Cl34r
Is it possible to create a local array ? When yes, how ? I need this piece of information to get rid of my last globals.

thx ^_^
10-24-2004, 08:33 AM#2
PitzerMike
Quote:
Originally Posted by n\/Cl34r
Is it possible to create a local array ? When yes, how ? I need this piece of information to get rid of my last globals.

thx ^_^

of course it is:

local <type> array <name>

for example: local integer array I
10-24-2004, 09:32 AM#3
Xaran Alamas
cool thanks, didn't know that.
10-24-2004, 01:26 PM#4
n\/Cl34r
Thanks, works like a dream. Now all my spells are global-exterminated. But wait, the hero revival function could use something .... a local timer window ! Is that possible ? It's not local timerwindow <name>, i already tried that and got compile errors.
10-24-2004, 02:10 PM#5
Klownkiller
Quote:
Originally Posted by n\/Cl34r
Thanks, works like a dream. Now all my spells are global-exterminated. But wait, the hero revival function could use something .... a local timer window ! Is that possible ? It's not local timerwindow <name>, i already tried that and got compile errors.

Why not just use a loop with a wait embedded in it? or do you need it to display a timer?
10-24-2004, 02:15 PM#6
n\/Cl34r
Quote:
Originally Posted by Klownkiller
Why not just use a loop with a wait embedded in it? or do you need it to display a timer?

What's a timer window for else ?
10-24-2004, 02:25 PM#7
PitzerMike
Quote:
Originally Posted by n\/Cl34r
What's a timer window for else ?

local timerdialog that is
10-24-2004, 02:48 PM#8
n\/Cl34r
Quote:
Originally Posted by PitzerMike
local timerdialog that is

Thanks a lot! Works fine!