MacAxePad 1.3.2 problems
Hi,
I've just upgraded from 1.2.0 to 1.3.2, and when I check syntax of a large 1968-byte (out of 2048) 18m2 program that was successful on 1.2.0, but on 1.3.2, instead I get this error message:
and this code doesn't seem to like being in the EEPROM code space - it's alright in a byte address less than (2048-255), as it passed the syntax check when I removed enough lines of code before the do:loop.
so I have to change it to
which passes the syntax check, even within the EEPROM code space (the last 255 bytes of code memory).
The message should say something like:
This is one part of the problem with the syntax checker; if there is a syntax error on a line e.g. something as simple as "high pinwb.1", the syntax check highlights the line about two or many more lines after the line with the syntax error, rather than the line with the syntax error, which can be confusing. Could this be fixed as well?
Another issue is with the collapsing blocks: the GOSUB command is treated like an IF line as the start of a collapsable block, when it shouldn't be. So,
would collapse to:
rather than:
and when I type a gosub line then press enter, it auto-indents the line after the gosub, which is not really useful
Could this be fixed?
And it would be nice if SYMBOL definitions (variables and constants) are in the appropriate colour syntax rather than black, just like in PE and VSM.
Thanks,
TC
Hi,
I've just upgraded from 1.2.0 to 1.3.2, and when I check syntax of a large 1968-byte (out of 2048) 18m2 program that was successful on 1.2.0, but on 1.3.2, instead I get this error message:
at first, I thought its to do with the use of read and write commands, but that's not the case:Syntax Check for PICAXE-18M2 Failed
Error: Memory location already used! (Byte 201)
(err=25: Inappropriate ioctl for device)
I then started removing lines of code, and the main culprit is:Syntax Check for PICAXE-18M2 Failed
Error: Memory location already used! (Byte 206)
(err=25: inappropriate ioctl for device)
Code:
do
loop until pinb.0 = 1 'I tried pinc.0 and pinc.1 with the same error
so I have to change it to
Code:
loop1:
if pinb.0 = 0 then loop1
The message should say something like:
- or actually allow it again.Error: Do - Loop commands not supported on the last 255 bytes of program memory!
This is one part of the problem with the syntax checker; if there is a syntax error on a line e.g. something as simple as "high pinwb.1", the syntax check highlights the line about two or many more lines after the line with the syntax error, rather than the line with the syntax error, which can be confusing. Could this be fixed as well?
Another issue is with the collapsing blocks: the GOSUB command is treated like an IF line as the start of a collapsable block, when it shouldn't be. So,
Code:
If b5>0 then
High C.4
Gosub ScanBtns
Low C.4
EndIf
Code:
If b5>0 then
High C.4
Gosub ScanBtns ... [I]EndIf[/I]
Code:
If b5>0 then ... [I]EndIf[/I]
Could this be fixed?
And it would be nice if SYMBOL definitions (variables and constants) are in the appropriate colour syntax rather than black, just like in PE and VSM.
Thanks,
TC
Last edited: