0 Members and 1 Guest are viewing this topic.
Ok, so just have them as separate statements if possible? (with the least likely outermost so it runs through less checks)
:If A:If B:...:Code here:...:End:End
:If A and B:...:Code here:...:End
Can you add a For() loop that counts down? (Like a 16 bit djnz) Maybe For()r ? That would be very useful. EDIT: I know there is DS<(), but that is a little bit different.
Quote from: ralphdspam on June 16, 2011, 11:23:59 pmCan you add a For() loop that counts down? (Like a 16 bit djnz) Maybe For()r ? That would be very useful. EDIT: I know there is DS<(), but that is a little bit different. In extension to this, would it be possible to add a command that allows you to do something like For()r except it would check the two arguments, and if the first was larger than the second, it would count down instead of up.
Quote from: graphmastur on June 18, 2011, 09:16:25 pmQuote from: ralphdspam on June 16, 2011, 11:23:59 pmCan you add a For() loop that counts down? (Like a 16 bit djnz) Maybe For()r ? That would be very useful. EDIT: I know there is DS<(), but that is a little bit different. In extension to this, would it be possible to add a command that allows you to do something like For()r except it would check the two arguments, and if the first was larger than the second, it would count down instead of up.I'm not sure if I'm right, so please correct me if not:Isn't that the same thing as For(10,2,-1)? Or this can't be done?
.LIBRARY [special identifier to indicate this program is a library].Fade.FadeIn may even make a "Axe Class" possible! But don't worry about that for now - this is just for organization.#Token(Fade.FadeIn)Lbl FINcode here...#Token(Blah)Lbl BLAcode here...
Abs([num_of_Loops+1])While -1 -> [var] .Code [var]End
Remove the scope restrictions on commands? I was just working on a pretty beastly optimization using the value returned by Copy() in the middle of a line, but Axe won't let me. Also, do you think the /10 "optimization" should be removed? It results in smaller code, but also much slower code.
In other news, Frey continues kicking unprecedented levels of ass.
What are inline if statements?
EndIf A>4