| 07-07-2009, 04:41 PM | #1 |
JASS:keyword A struct A endstruct Result: syntax error Statement outside of function Statement outside of function Statement outside of function Is this a bug, or structs officially not supported for keywords? |
| 07-07-2009, 06:27 PM | #2 |
this phenomenon is really interesting, but it seems to be independant from the struct: conclusion first: it seems that you can only use keyword in conjunction with either public or private now to the testing i've done: if you use keyword without public/private, it will ALWAYS throw the EXACT SAME errors, no matter what you "name" your keyword. and it is not dependant on the struct, as it will throws the same errors even if there is no struct at all. so just use private/public, and you'll be fine. |
