0 Members and 6 Guests are viewing this topic.
how does doors cs 7.1 do it? That works very well and jumps instantly to the error.
<IRL name> (Kerm Martian) Thanks for the help with the error scrolling!
ld hl, offsetToError ld (errOffset), hl ld a, 3 ld (menuCurrent), a ld a, 1 ld ($85DF), a ld a, kEnter bcall(_pullDownChk) bcall(_clrTR) ld hl, op1 ld de, progToEdit-1 ld bc, 9 ldir ld b, a ld a, kError ld (cxCurApp), a ld a, b bcall(_newContext0) bcall(_mon)
I'm going to bump a feature request I've probably mentioned multiple times in the past: preprocessor conditionals. It is something that cannot be done in an Axiom and would be useful to every programmer, whether it's for building your program in a debug mode, testing different blocks of code to see which is better/faster/smaller, or (my personal favorite) making Axe libraries that programmers can very easily customize to their needs by changing a few defines. I'm sorry about bringing up this particular request multiple times, but this is the #1 feature I would like to see in Axe, and I'm sure many others would find it useful as well.
Continuing in that vein, I'd like to bump stack access. Both of the suggestions I've seen (using π as a pseudo-variable to access the stack and having a command Save(VAL1,VAL2) that evals and pushes VAL1, evals VAL2, then pops the stored value of VAL1) sound good.
:...If <const>:<code>:...