goto_test.ep 846 B

123456789101112131415161718192021222324252627282930313233
  1. # CHK=0xE30F
  2. # goto_test.ep
  3. #+:EDITS:
  4. #:01-24-1997-02:37-wht@yuriatin-SOURCE RELEASE 4.00
  5. #:09-11-1996-20:00-wht@yuriatin-3.48-major telnet,curses,structural overhaul
  6. #:11-23-1995-11:20-wht@kepler-source control 3.37 for tsx-11
  7. #:11-14-1995-10:23-wht@kepler-3.37.80-source control point: SOCKETS
  8. #:05-04-1994-04:39-wht@n4hgf-ECU release 3.30
  9. #:09-10-1992-13:59-wht@n4hgf-ECU release 3.20
  10. #:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA
  11. #:06-07-1989-22:31-wht-creation
  12. echo '... TRY1 goto test'; goto TRY1
  13. echo '... TRY1 goto failed'
  14. return
  15. BACK1 echo '... gotob succeeded'
  16. gotob COMP
  17. TRY1 echo '... TRY1 goto succeeded'
  18. gotob BACK1
  19. COMP echo '... COMPuted goto test'; set $s0='COMP'+'UTED',$s0
  20. goto $s0
  21. echo '... COMP failed'
  22. return
  23. COMPUTED
  24. echo '... computed goto worked'
  25. echo '... test complete'
  26. return
  27. # vi:set tabstop=8: