Re: TIB: Re:GetKey


[Prev][Next][Index][Thread]

Re: TIB: Re:GetKey




Yep, just thought of the same thing last night. But you should'n use
goto statements unless absolutely necessary because we all know we are
SSSLLLOOOWWW. So instead of using a second goto you should do this

if 0
then
Lbl B
End

instead of this:

+AD4-Goto C
+AD4-Lbl B
+AD4-End
+AD4-Lbl C

if/then is faster than goto because, as someone else mentioned, goto
searches the WHOLE PROGRAM to find the right label, with a big prog...

-Philipp Keller

+ADw-snip+AD4-

+AD4-this workes grate if you will only be able to get to Lbl B with a
goto after
+AD4-an if
+AD4-other wise, you would have to do this:
+AD4-
+AD4-If A+AD0-1:Then
+AD4-code
+AD4-code
+AD4-goto B
+AD4-end
+AD4-
+AD4-Goto C
+AD4-Lbl B
+AD4-End
+AD4-Lbl C
+AD4-