View Single Post
Old 07-24-2009, 12:46 AM   #2135
Blubb-Tec
Full Metal Mapping!
 
Blubb-Tec's Avatar
 
Join Date: Nov 2006
Posts: 270

Submissions (1)

Blubb-Tec will become famous soon enough (37)Blubb-Tec will become famous soon enough (37)

Default

Quote:
Originally Posted by Dark_Dragon
vex plz add this:

Collapse JASS:
globals
   key ky
endglobals

function some takes key k returns nothing
endfunction

can you explain a bit further on the use of this? afaik, keys are compiled as constant integers, and each one is unique. i don't see how a function argument can be a constant integer... only sense i see there is that it has to be an integer defined through a key.
could you maybe post an example of how that function some is called? and could you maybe also give us the issue for what you need this? it looks interesting, but no idea about the use, yet.
__________________
P A R T Y

"In a way, we're all troubled adolescent girls... deep inside."
Blubb-Tec is offline   Reply With Quote