Jallist Archive Nov 2003

Re: is there any goto instruction?

From: "swmillar" <SWMillar(at)aol.com>
Date: 04 Nov 2003 19:46:01 -0000

when i first started with JAL it had something picbasic didn't - 
procedures. of course i started to call them and nest them etc which 
meant i was killing the stack (13-14 levels instead of the 8 max!). 
reluctantly at the time i scrapped my code and rewrote it properly - 
so glad i did. got the levels down to 5-6! much better code as well. 
you'll only need a goto if your code isn't written well - harsh but 
true. though interrupt handling caused me a lot of these problems so 
i stayed away from it where possible.

--- In jallist@yahoogroups.com, "japus10"  wrote:
> > Is there a way to use goto instruction in JAL ?
> > I have a lot procedure calls but I dont want them to RETURN which 
> > causes Stack problems.
> 
> 
>     You want procedures without stacks and I want ... I want you to 
> learn a structured language. Take a pascal for PC, learn it, and 
then 
> you will answer your question.
> 
>    There's no a GOTO instruction in JAL and hope it will not be for 
a 
> long time.
> 
> 
> 
> Javi.



Seiz System Engineering AbelCam AbelCam WebCam Software for Windows