rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* (no subject)
@ 1997-03-04 16:20 erik quanstrom
  1997-03-04 16:28 ` if Suggestion Mark K. Gardner
  0 siblings, 1 reply; 2+ messages in thread
From: erik quanstrom @ 1997-03-04 16:20 UTC (permalink / raw)
  To: mkgardne, rc

>However, I find myself wanting to have an optional else-if clause in the if statement.

huh? this is output from rc-1.4 on sgi

; if (true) {
        echo if
} else if (false) {
        echo else if
} else {
        echo else fallthrough
}
if
; if (false) {
        echo if
} else if (false) {
        echo else if
} else {
        echo else fallthrough
}
else fallthrough
;  if (false) {
        echo if
} else if (true) {
        echo else if
} else {
        echo else fallthrough
}
else if


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-04 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-04 16:20 erik quanstrom
1997-03-04 16:28 ` if Suggestion Mark K. Gardner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).