Ashlebede
New Member
- Reaction score
- 43
I've been trying to use vJass structs for a while now, and ever time I declare a struct, I get this error:
Code:
Obviously, I tried making it inside a function. result:
Code:
And I get the same errors with libraries as well
And my code was:
I have really no idea what's wrong. My other vJass functions seem to work well...
Line 1: syntax error
Line 1: Statement outside of function
Line 1: Statement outside of function
Line 1: Statement outside of function
Line 2: Statement outside of function
Line 2: Statement outside of function
Code:
JASS:
struct newstruct
endstruct
Obviously, I tried making it inside a function. result:
Line 2: syntax error
Code:
And I get the same errors with libraries as well
Line 1: syntax error
Line 1: Statement outside of function
Line 1: Statement outside of function
Line 1: Statement outside of function
Line 2: Statement outside of function
Line 2: Statement outside of function
And my code was:
JASS:
library L
endlibrary
I have really no idea what's wrong. My other vJass functions seem to work well...