0 Members and 3 Guests are viewing this topic.
Those already exist Since 0.4.5, I think, although they were buggy until recently.
If A=1 .Do somethingEndIf A=2 .Do somethingEnd...If A=(some_number) .Do somethingEnd
If A=1 .Do somethingElseIf A=2 .Do somethingElseIf ...(etc.) .Do somethingElseIf A=(some_number) .Do somethingEnd
3->AIf A>1 Text(10,10,Str1)EndIf A>2 Text(10,20,Str2)End
3->AIf A>1 Text(10,10,Str1)ElseIf A>2 Text(10,20,Str2)End
Really? Guess I went a tad bit overboard <.<Glad you liked it though.
Are you talking about me? Also, is there a way to compile a program externally?
Nope, that's been suggested several times, but someone would have to get Quigibo's permission (and the source for Axe) to make an off-calc compiler. You can use Wabbit, though.
Quote from: Deep Thought on February 10, 2011, 08:00:17 pmNope, that's been suggested several times, but someone would have to get Quigibo's permission (and the source for Axe) to make an off-calc compiler. You can use Wabbit, though.I think he means compile a program externally, but still on calc. Like a hook or an entry point.
Code: [Select]If A=1 .Do somethingEndIf A=2 .Do somethingEnd...If A=(some_number) .Do somethingEndThis can be shortened to Code: [Select]If A=1 .Do somethingElseIf A=2 .Do somethingElseIf ...(etc.) .Do somethingElseIf A=(some_number) .Do somethingEnd
If A=1 .Do something Goto EEndIf A=2 .Do something Goto EEnd...If A=(some_number) .Do somethingEndLbl E