| 04-14-2006, 03:27 PM | #1 |
Yea yea i know, wrong place to post, but i dident know what catagory it came under, theres lots it could come under, sorry. Anyways, in Jass shop pro, iv looked everywhere, and never knew how to do it before, but how can i create globals through it, when i test my syntax, i get global errors, because iv not defined them! I just dunno how to define and create globals without the maps .j Any help?, thx in advance |
| 04-14-2006, 05:10 PM | #2 |
Does it matter? I don't know how the compiler in Jass Shop Pro works but if all it does is scan the entire code for syntatical errors (without stopping when it reaches one), then just ignore all errors thrown for undeclared globals. |
| 04-14-2006, 05:42 PM | #3 |
You put a JASS:globals type name type name endglobals example JASS:globals unit udg_ThatUnit integer array udg_AllIntegers endglobals Remeber to not paste this to your map, if you do you'll get some errors ^^ |
| 04-15-2006, 10:51 AM | #4 |
Thx dude, just what i wanted. Iv seen it in the .j but thought it only ran in WE properly. Looks like i underestimated Jass pro shop. Thx again |
