Page 2 of 2

Re: Humbly Submitted: Debugging Trick

Posted: Fri Oct 21, 2011 4:30 am
by Lee
Hi,

I was trying out zEAL's UDFs and it's highly possible that I did something wrong in setting it up but when "onCampaignLoad" runs, it throws 'unexpected char 0xA0' . I put the macros on a Lib: Token btw. Thanks!

Re: Humbly Submitted: Debugging Trick

Posted: Fri Oct 21, 2011 6:30 am
by CoveredInFish
Probably you copy-pasted some invisble characters that the MapTool dont like.

Best you copy-paste your macro-code to a simple or coding related text editor as these probably loose or convert those characters first. From there copy&paste it to maptool.

EDIT: I believe 0x0A is probably LF (line feed).

Re: Humbly Submitted: Debugging Trick

Posted: Fri Oct 21, 2011 7:30 am
by Lee
:oops: hahaha. i should have thought about that in the first place. with all the great help people get in here, it makes for lazy thinking for people like me. ::smacks forehead:: thanks for the help :)