Author Topic: Axe Q&A  (Read 592208 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Q&A
« Reply #1065 on: November 24, 2011, 12:47:40 pm »
Thanks both of you ^^
(previous message deleted to not increase my post count for nothing)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: Axe Q&A
« Reply #1066 on: November 24, 2011, 01:36:54 pm »
Code: [Select]
Repeat
//
code
//
If something
Goto A
End
End
Is the Goto waiting for an 'End' token as it does with Ti-Basic ? when used in an if statement, or a loop..

Edit : is there a problem with the line numbering ? If I add an empty line, it's fine though (see above ;))
Quote
Is the Goto waiting for an 'End' token as it does with Ti-Basic ?
You don't need an End after a Goto in TI-BASIC.

I meant in that code (above) especially : the Goto is after an If token : you have an If statement, you go through the Goto, and the End of the If statement isn't reached
Do you understand what I'm trying to say ? :)
« Last Edit: November 24, 2011, 01:37:57 pm by Wellen »
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Q&A
« Reply #1067 on: November 24, 2011, 01:39:18 pm »
If that code is Axe, then you do need the End to end the If statement. I'm probably just not entirely understanding what you're saying.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Q&A
« Reply #1068 on: November 24, 2011, 01:46:04 pm »
He meant that the calculator hit a "If" before the "Goto" and so, after going to label A, the calculator is waiting for the "End" of the initial "If". Did I understand right ?
If so, no, the calculator doesn't wait for an End (at least I never needed to put an End when doing so in my progs :P)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: Axe Q&A
« Reply #1069 on: November 24, 2011, 01:51:58 pm »
He meant that the calculator hit a "If" before the "Goto" and so, after going to label A, the calculator is waiting for the "End" of the initial "If". Did I understand right ?
Yes, that's what it does in Ti-Basic, and I was wondering if it was the same in Axe.
Thank you for translating :D
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Q&A
« Reply #1070 on: November 24, 2011, 01:57:06 pm »
Ah. That's only the case if it's an If-Then, and it's to make up for the imperfections of the parser. For Axe, there's no need.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: Axe Q&A
« Reply #1071 on: November 24, 2011, 02:04:39 pm »
OK, that's what I wanted to know :D

Thank you !
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1072 on: November 25, 2011, 06:43:35 am »
Hayleia: pretty much every random hex code gives a ram clear.
I'm not a nerd but I pretend:

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Axe Q&A
« Reply #1073 on: November 25, 2011, 02:09:10 pm »
is there something out there that makes it easier to scroll through source code? eg: goto the last line (or middle line) of code, rather than scrolling

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Axe Q&A
« Reply #1074 on: November 25, 2011, 02:11:18 pm »
is there something out there that makes it easier to scroll through source code? eg: goto the last line (or middle line) of code, rather than scrolling
http://ourl.ca/113185 scroll down to deep thoughts post
This used to contain a signature.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Axe Q&A
« Reply #1075 on: November 25, 2011, 02:12:06 pm »
is there something out there that makes it easier to scroll through source code? eg: goto the last line (or middle line) of code, rather than scrolling
http://ourl.ca/113185 scroll down to deep thoughts post
Yay!!!! :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Q&A
« Reply #1076 on: November 25, 2011, 02:16:03 pm »
Hayleia: pretty much every random hex code gives a ram clear.
Pretty much every random hex code will not cause a RAM clear. The only reason it works in TI-BASIC with AsmPrgm is because those programs never quit.




Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1077 on: November 25, 2011, 02:20:38 pm »
You are right   :-\
I'm not a nerd but I pretend:

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Q&A
« Reply #1078 on: November 25, 2011, 02:22:12 pm »
is there something out there that makes it easier to scroll through source code? eg: goto the last line (or middle line) of code, rather than scrolling
Also, if you use a 83+SE or 84+ or 84+SE or 84 pocket.fr (but not a 83+), you can install zStart and (among other amazing things) you will be able to jump to any label in your code by pressing On+Vars in the editor.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #1079 on: November 25, 2011, 03:12:30 pm »
DANG YOU 83+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Spoiler For Spoiler:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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