Re: goto's, and loops
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Jul 30, 1999
- 524 views
Another language I use, Progress 4GL, has a specialized variety of goto. It uses the syntax "leave <blockname>" . Your example would be coded thus... loop1: repeat: some code loop2: repeat: if var then leave loop1. end. /* of loop2 */ more code end. /* of loop 1 */ The idea of named blocks of code might not be too difficult it add to Euphoria, however name-space issues might arise. cheers, Derek Parnell dparnell at bigpond.net.au Melbourne, Australia