TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ANDREW WEAVER
from: DANIEL HEBBERD
date: 1997-10-24 16:58:00
subject: Re: GOTO - ??

AW> Whats the C command that you use to "label something so you can use goto 
to
AW> to it?
Well, if it is avoidable, do NOT use a GOTO staement, but heres a GOTO 
example.
------------------------------------------------------------------------------
void main(void) {
printf("I am going to use a goto now.\n");
goto position;
printf("You will not see this message !\n");
position:
printf("Nice to see you, did you enjoy your trip ?\n");
}
-=- DANIEL HEBBERD -=-
--- Renegade v666 dMp  
---------------
* Origin: dMp ][, Man can not live on Toons alone... (3:774/750)

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™.