X-Trace-PostClient-IP: 68.147.131.211 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: dynamic gotos possible with djgpp? Organization: Systematic Software Message-ID: <0d690v0gaeeod14dais9ucgeej1ra1uj3a@4ax.com> References: X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 Date: Sat, 21 Dec 2002 16:45:20 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse AT shaw DOT ca X-Trace: news2.calgary.shaw.ca 1040489120 24.71.223.147 (Sat, 21 Dec 2002 09:45:20 MST) NNTP-Posting-Date: Sat, 21 Dec 2002 09:45:20 MST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 21 Dec 2002 15:34:14 +0100, "Lars O. Hansen" wrote: >void *x; /* or long *x as addresses are just integers (but may conflict with C type checking) */ > >x=label1; /* label1 a label like a label for static gotos */ > >goto x; > > >possible? Not advisable unless you want to ignore thirty odd years of programming advice and experience which say these things are unnecessary obfuscation of code and a sign of an inexperienced programmer. Thanks. Take care, Brian Inglis Calgary, Alberta, Canada -- Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca) fake address use address above to reply abuse AT aol DOT com tosspam AT aol DOT com abuse AT att DOT com abuse AT earthlink DOT com abuse AT hotmail DOT com abuse AT mci DOT com abuse AT msn DOT com abuse AT sprint DOT com abuse AT yahoo DOT com abuse AT cadvision DOT com abuse AT shaw DOT ca abuse AT telus DOT com abuse AT ibsystems DOT com uce AT ftc DOT gov spam traps