Matrefeytontias
LV8 Addict (Next: 1000)
      
Offline
Gender: 
Last Login: Today at 01:18:28
Date Registered: 14 October, 2011, 18:48:49
Location: Alone in the Park
Posts: 854
Total Post Ratings: +174
|
Are you sure Pic2 actually exists ? It must since you use GetCalc() without a size word.
|
|
|
|
|
Logged
|
|
|
|
fortytwo
LV3 Member (Next: 100)
 
Offline
Last Login: Today at 15:39:45
Date Registered: 28 September, 2012, 01:48:37
Posts: 66
Total Post Ratings: +10
|
I am unable to compile a program which simply says: GetCalc("Pic2") and I get an Invalid Token error. It should not matter if the pic actually exists at the time of compile, as it finds it when it is run.
|
|
|
|
|
Logged
|
|
|
|
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
Offline
Gender: 
Last Login: Today at 17:37:02
Date Registered: 02 July, 2009, 06:38:05
Posts: 1679
Total Post Ratings: +492
|
I have no idea what that would be happening... If the source file is archived, I would first suggest unarchiving and rearchiving it; Axe occasionally has issues with archived source files, but this usually fixes it. If compiling it still results in the same error, can you post the full source code (in its original 8xp form in case there's some weird token data issues)? And/or if you're using Axe 1.2.1 (which I hope you are!), can you press STAT when the error occurs and relay that hexadecimal error dump info?
|
|
|
|
|
Logged
|
|
|
|
fortytwo
LV3 Member (Next: 100)
 
Offline
Last Login: Today at 15:39:45
Date Registered: 28 September, 2012, 01:48:37
Posts: 66
Total Post Ratings: +10
|
I just experimented a little more, and it seems to be independent of the GetCalc(. It seems to be that I cannot put Pic2 in a string at all. I have a one-line test program which shows this. I am using 1.2.1, so here is the hex: 0CBFF90D80026001 A5F8A5F800006353 01932A60BAB30000 808168CB
|
BUG.8Xp (0.09 KB - downloaded 5 times.)
|
|
|
Logged
|
|
|
|
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
Offline
Gender: 
Last Login: Today at 17:37:02
Date Registered: 02 July, 2009, 06:38:05
Posts: 1679
Total Post Ratings: +492
|
You are correct; the bug does indeed exist, and it's because I made a stupid! It appears that I optimized string data parsing a little too aggressively in 1.2.0, but I've fixed it now and the fix will be in the next release of Axe. If you would like a workaround in the meantime, you can replace "Pic2" with [07600100].
|
|
|
|
« Last Edit: 11 May, 2013, 22:35:02 by Runer112 »
|
Logged
|
|
|
|
|