- Joined
- Oct 2, 2011
- Messages
- 2,485
Hi!
I recently started ahving issues with WEX, and I did not understand what was going on at all.
I thought it may have been my map, so I tried a simple JASS trigger in an empty map. But the same error occured. Here's the trigger:
And here is the error message:
It seems like it couldn't read the code at all?
A friend of mine tested this same code in his editor (something else than WEX) and it worked fine.
I recently started ahving issues with WEX, and I did not understand what was going on at all.
I thought it may have been my map, so I tried a simple JASS trigger in an empty map. But the same error occured. Here's the trigger:
Code:
scope Test initializer Init
struct A
public string message
public static method create takes string s returns thistype
local thistype this = thistype.allocate()
set this.message=s
return this
endmethod
public method showMessage takes nothing returns nothing
call BJDebugMsg(.message)
endmethod
endstruct
private function Init takes nothing returns nothing
local A a
set a = A.create("vJASS works :)")
call a.showMessage()
endfunction
endscope
And here is the error message:
It seems like it couldn't read the code at all?
A friend of mine tested this same code in his editor (something else than WEX) and it worked fine.