| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | GOTO - ?? |
AW> þ Msg. Status: Please reply!
NO!
AW> Whats the C command that you use to "label something so you
AW> can use goto to go to it?
Aargh! Goto sucks!
Oh well, just en the label with : and the line after must end with a ;
Correct:
if (foo) goto hell;
.
.
.
hell:
return 0;
Incorrect:
{
if (foo) goto hell;
.
.
.
hell:
}
---
---------------
* Origin: Earth is 98% full...please delete anyone you can. (2:201/293.22) |
|
| SOURCE: echomail via exec-pc | |
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™.