0 Members and 3 Guests are viewing this topic.
Ah nice, not too long then. I thought it would be like 2 minutes.
([01234567])*2→AFor(E,0,7)Text(E*10,0,nib{A+E}>Dec)End
I have a (fairly large) bug report:Try this code compiled to no-shell:Code: [Select]([01234567])*2→AFor(E,0,7)Text(E*10,0,nib{A+E}>Dec)EndIt will do what it's supposed to, which is display 01234567 in a row. Now try compiling it to an app.It'll display some numbers that are *not* 01234567
It's not a bug. There are 65536 bytes in RAM, which can all be accessed with a 16-bit pointer, but there are twice as many nibbles. Because of this, you cannot access every nibble in RAM with a 16-bit argument, so it is split into two commands. nib{} will return a nibble from ᴇ8000-ᴇFFFF, and nib{}ʳ will return a nibble from ᴇ0000-ᴇ7FFF.
BUG: Don't Quote Me!I show best by example.Text(5,10,"HELLO"Text(5,30,"WORLD!"When compiled it will give an ERROR: BAD SYMBOL at the 2nd Text(I fiddled around with it for a while, and to make it work, you have to change it to this VText(5,10,"HELLOText(5,30,"WORLD!What is that about?also i tried this, and it compiled.Text(5,5,"ERROR: YOU HAVE TOO MANY NOTES"POO( i know but i use the word poo when testing things....the only thing that showed up was that square symbol..
Load 5Store last value into pen XLoad 5(An instruction that's not important for this simplified pseudocode)Store last value into pen YLoad pointer to "ERROR: YOU HAVE TOO MANY NOTES"Load value of PLoad value of OLoad value of OStore last value into string pointerDisplay string