Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
A quick global block question
A quick global block question
08-23-2007, 08:50 AM
#1
Silvenon
What's the different between:
JASS:
globals
dialog
d
=
DialogCreate
()
endglobals
and:
JASS:
globals
constant
dialog
d
=
DialogCreate
()
endfunction
except the difference that the first one cannot change.
08-23-2007, 09:45 AM
#2
DioD
none
08-23-2007, 05:19 PM
#3
PipeDream
They actually produce different op codes, but in the switch constant falls through to global. I guess they might have intended to put them in a separate hash table but never got around to it.