🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3969

Re: How to eliminate GOTO?

#3969
From: halasz
Date: Mon, 11 Sep 1995 14:32
9 lines
839 bytes
In article <431ems$kje@wormhole.cognos.com>, ingramm@Cognos.COM (Mark Ingram) writes
> But isn't that exactly what we want?
> "goto"s will work as they did before,
> and "break <label>" will exit the (possibly compound) statement
> that has that label?

The best would be for "break"/"continue" to hav a label-form distinct from
"goto" s.  My best for nou is to require that anie label uzed by "goto" is
not uzed by the new construct.
Technical Details
Message-ID: <431h92$sis@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <41cke4$gtd@sparcserver.lrz-muenchen.de> <42bjpc$lum@yage.tembel.org> <431ems$kje@wormhole.cognos.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz@caip.rutgers.edu
Newsgroups: comp.std.c
Subject: Re: How to eliminate GOTO?
Date: 11 Sep 1995 10:32:02 -0400
Organization: Rutgers University
Message-ID: <431h92$sis@caip.rutgers.edu>
References: <41cke4$gtd@sparcserver.lrz-muenchen.de> <42bjpc$lum@yage.tembel.org> <431ems$kje@wormhole.cognos.com>
NNTP-Posting-Host: caip.rutgers.edu