Loading
Filed Under: Easytrieve
GOTO statement in Easytrieve
As you would expect, GOTO statement just transfers control directly to the label specified. Below example explains that.
LIST ON JOB INPUT NULL DISPLAY 'ONE' GOTO LINE-FOUR DISPLAY 'TWO' DISPLAY 'THREE' LINE-FOUR DISPLAY 'FOUR' STOP
Output from this will be
ONE FOUR
Related Posts
- Easytrieve – check if value IS NUMERIC in an alpha variable
- Easytrieve program to parse a string
- simple and nested IF-ELSE-ENDIF statement in Easytrieve
- Comments in Easytrieve (start with *)
- Easytrieve Error messages A0** and B0**
- SYSDATE and SYSTIME in Easytrieve
- JOB statement with START and FINISH procs in Easytrieve
- PROC (perform paragraph) in Easytrieve
- SORT in Easytrieve
- EDIT MASKS – Masking variables in Easytrieve
blog comments powered by Disqus
There's 0 Comment So Far
Share your thoughts, leave a comment!