Author Topic: Store Labels and Goto ?  (Read 2217 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
Store Labels and Goto ?
« on: March 06, 2013, 04:17:33 pm »
Is there a way to goto stored labels ? For example this (useless an non-working) code:

Data(LLabelr)→GDB1
Goto {GDB1}r
Lbl Label

I could use Z-Test too but that would be less convenient :(
So any ideas ?
« Last Edit: March 06, 2013, 04:17:43 pm by Hayleia »
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 jacobly

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 205
  • Rating: +161/-1
    • View Profile
Re: Store Labels and Goto ?
« Reply #1 on: March 06, 2013, 04:20:16 pm »
Goto ({GDB1}ʳ) :)
« Last Edit: March 06, 2013, 04:39:51 pm by Art_of_camelot »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Store Labels and Goto ?
« Reply #2 on: March 06, 2013, 04:24:26 pm »
Goto ({GDB1}ʳ) :)
Seriously ? It works with parenthesises but not without ? O.o
Thanks, I'll try to remember it then :)

edit Jacobly said on IRC that the parenthesises are needed to avoid confusion between "Goto A" and "Goto (A)"
« Last Edit: March 06, 2013, 04:28:49 pm by Hayleia »
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