From: G DOT DegliEsposti AT ads DOT it To: djgpp AT delorie DOT com Message-ID: Date: Thu, 26 Feb 1998 09:45:54 +0100 Subject: Re: goto statement and labels Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >how do i do this? > >label; >expression; >goto label; the correct syntax is label: and not label; (colon in stead of semi-colon) Since you say you are new to C, I suggest you not to abuse of the goto statement, because this can lead to unreadable programs very fast, try to use structured statements (while, for, ...) as much as possible... >i know this is a C question and not a djgpp question. ...then why didn't you post it on comp.lang.c ? :-) ciao Giacomo