home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!doc.ic.ac.uk!ppch
- From: ppch@doc.ic.ac.uk (P P C Herring)
- Newsgroups: comp.lang.rexx
- Subject: Re: Spelt logical operators
- Date: 18 Dec 1992 15:26:51 -0000
- Organization: Department of Computing, Imperial College, University of London, UK.
- Lines: 25
- Distribution: world
- Message-ID: <1gsqjrINNlns@oak48.doc.ic.ac.uk>
- References: <1gqgtfINN3r8@dove.doc.ic.ac.uk> <19921217202410SEB1525@MVS.draper.com>
- NNTP-Posting-Host: oak48.doc.ic.ac.uk
-
-
- In article <19921217202410SEB1525@MVS.draper.com>, Steve Bacher writes:
- |> In article <1gqgtfINN3r8@dove.doc.ic.ac.uk>,
- |> ppch@doc.ic.ac.uk (P P C Herring) writes:
- |>
- |> >A way of doing the material conditional which would be relatively clear
- |> >could be
- |> >to make 'iff' a synonym for the keyword 'if' and have 'if' change it's
- |> >meaning
- |> >within a statement like:
- |> >
- |> > iff B if A then do; nop; end .
- |>
- |> That doesn't look all that clear to me, and making everybody spell "if"
- |> differently is not going to make people happy either.
- |>
- |> I'd go for "if A implies B then do; nop; end", myself.
- |>
- |> Let's not repeat C's "=" vs. "==" disaster.
-
- I agree with this. I just wish I'd thought of it. I think I was trying to make
- the relationship between 'iff' and 'if' clear in the code, but it would be better
- to do this in the manual. 'implies' is perfect for practical clarity.
-
-
-