0 Members and 2 Guests are viewing this topic.
lolSince this project started, I wished that floating point numbers support would only come after the first Axe program is uploaded on ticalc.org. I still have some bad memories of when I saw the very first ever BBC Basic language upload there. Anyway back on topic, I assume the r1 through r6 stuff can be used inside sub() commands too, right? (such as sub(AB,r6,C)
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13
Quote from: DJ Omnimaga on June 18, 2010, 09:17:23 pmlolSince this project started, I wished that floating point numbers support would only come after the first Axe program is uploaded on ticalc.org. I still have some bad memories of when I saw the very first ever BBC Basic language upload there. Anyway back on topic, I assume the r1 through r6 stuff can be used inside sub() commands too, right? (such as sub(AB,r6,C)Sure. Just be aware that they are stored in order, like:r6->r1C->r2So if you do sub(AB,r2,r1)it doesr2->r1r1->r2which is the same thing as doing sub(AB,r2,r2).Basically, don't try to use r1 after the first argument, r2 after the second argument, etc.
According to the Documentation:ERR: STACK FULL There are too many parenthesis in a single expression.Count your parentheses, you probably messed up somewhere.
:sub(V,sub(T,sub(U,sub(D,sub(V,sub(T,sub(U,sub(S,sub(V,sub(T,sub(U,sub(J,sub(V,sub(T,sub(U,sub(R,sub(V,sub(T,sub(U,sub(Q,sub(V,sub(T,sub(U,sub(P,sub(V,sub(T,sub(U,sub(B,sub(V,sub(T,sub(U,sub(A,sub(V,sub(T,sub(U,sub(O,sub(V,sub(T,sub(U,sub(N,sub(V,sub(T,sub(U,sub(B,sub(V,sub(T,sub(U,sub(A,sub(V,sub(T,sub(U,sub(M,sub(V,sub(T,sub(U,sub(D,sub(V,sub(T,sub(U,sub(L,sub(V,sub(T,sub(U,sub(B,sub(V,sub(T,sub(U,sub(A,sub(V,sub(T,sub(U,sub(D,sub(V,sub(T,sub(U,sub(K,sub(V,sub(T,sub(U,sub(J,sub(V,sub(T,sub(U,sub(I,sub(V,sub(T,sub(U,sub(H,sub(V,sub(T,sub(U,sub(B,sub(V,sub(T,sub(U,sub(A,sub(V,sub(T,sub(U,sub(G,sub(V,sub(T,sub(U,sub(D,sub(V,sub(T,sub(U,sub(F,sub(V,sub(T,sub(U,sub(B,sub(V,sub(T,sub(U,sub(A,sub(V,sub(T,sub(U,sub(E,sub(V,sub(T,sub(U,sub(D,sub(V,sub(T,sub(U,sub(C,sub(V,sub(T,sub(U,sub(B,sub(V,sub(T,sub(U,sub(Asub(V,sub(T,sub(U)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
LOL! Somebody actually got a stack error! I didn't think that would ever happen. I guess I will expand the maximum stack size a little bit. Subroutines with arguments use 3 bytes of stack instead of 1 becasue they need to keep track of the name as well. Some operations need 2 bytes in stack but most need 1. The current maximum stack size is 64 bytes, If I have room, I will expand it to 128 bytes. The operation stack is never searched through so that won't cause any slow downs during compiling.
Do you think increasing the stack size to 128 is a good idea? What are the disadvantages? Is it only memory? Does it cost any speed?