HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A quick global block question

08-23-2007, 08:50 AM#1
Silvenon
What's the different between:

Collapse JASS:
globals
    dialog d = DialogCreate()
endglobals

and:

Collapse 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.