× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a multi-part message in MIME format...
--
To: mi400@midrange.com
From: jamesl@hb.quik.com
X-Advert: http://emumail.com
Reply-To: jamesl@hb.quik.com
Date: Tue, 02 Jul 2002 18:15:54 EDT
X-Mailer: EMUmail
Subject: Re: [MI400] MI as the MI language of the as400.

On Tue, 2 Jul 2002 16:40:50 -0500 "Leif Svalgaard" wrote:
. . .
> if a>0;
then b=1; else b=2;

Actually (and I've looked up the BNF grammar for PL/I),
there isn't a semicolon
after the condition. The "then" is, though, required
(at least according to the
BNF grammar I found; I don't remember it being
that way), just as it is in most
BASIC dialects and derivatives; in C, Java,
and the ALGOLs (including Pascal),
there isn't a "then," but the condition
must be in parentheses (I like the
"then" better, myself). Fortran, of
course, has the old logical and numeric IF
statements that didn't take a
THEN, and the (Fortran 77?) IF THEN ELSE

statement.

--
JHHL




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.