| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Nestled Loops |
Monday February 20 1995, Khaleel Waheed writes to All: KW> Do Forever KW> When Choice = 'L' Then Leave /* Leave this loop */ KW> End /* Forever */ KW> Exit KW> Everything works except the L part. It exits the program and not the loop KW> within the loop. I want L to return me to the top of the outermost Do KW> Forever loop. What am I doing wrong? Leave causes the program to exit from the current processing loop - you can probably see it clearly above. If you want to go to the start of the processing loop use iterate. John --- GoldED/2 2.50.Beta4+* Origin: (2:250/313) SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430 SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809 @PATH: 250/313 440/4 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 808 @PATH: 711/809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.