From: Steve Nickolas <usotsuki@buric.co>
To: Paul Winalski <paul.winalski@gmail.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>,
Douglas McIlroy <douglas.mcilroy@dartmouth.edu>
Subject: Re: [TUHS] PL/I stuff - was: Book Recommendation
Date: Thu, 25 Nov 2021 13:15:02 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.21.2111251312050.16592@sd-119843.dedibox.fr> (raw)
In-Reply-To: <CABH=_VQL1+WnaR4Dn44o_vOvKLrVonx0POU6g5CG-fVckp6Znw@mail.gmail.com>
On Thu, 25 Nov 2021, Paul Winalski wrote:
> 2. The DEFAULT statement. This was Forran's IMPLICIT on steroids. It
> let you say things like "data items with names beginning with A-G are
> decimal, I-N are binary, and O-Z are decimal". There could also be
> overlap between DEFAULT declarations. So in addition to the rule I
> just mentioned, you could say "A-J are fixed point and K-Z are
> floating point." With both of these rules in effect, identifier FOO
> would be implicitly "fixed decimal", J would be "fixed biary, and KOOL
> would be "float binary".
This reminds me of DEFINT, DEFSNG, DEFDBL, DEFSTR in MBASIC and its
descendants and DEFLNG in QBASIC. A lot of QBASIC code used "DEFINT A-Z"
for a slight speed boost.
(Not sure if these work in the Xenix version of MBASIC)
-uso.
next prev parent reply other threads:[~2021-11-25 18:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 23:54 Douglas McIlroy
2021-11-25 16:35 ` Paul Winalski
2021-11-25 18:15 ` Steve Nickolas [this message]
2021-11-26 16:59 ` Paul Winalski
2021-11-26 20:30 ` Tom Ivar Helbekkmo via TUHS
2021-11-26 21:22 ` John Cowan
2021-11-27 0:01 ` George Michaelson
2021-11-27 16:12 ` Paul Winalski
-- strict thread matches above, loose matches on Subject: below --
2021-11-27 15:25 Noel Chiappa
2021-11-27 15:53 ` Charles H Sauer
2021-11-16 14:57 [TUHS] " Douglas McIlroy
2021-11-23 2:28 ` Mary Ann Horton
2021-11-23 21:54 ` Thomas Paulsen
2021-11-24 15:18 ` Richard Salz
2021-11-24 22:19 ` Charles Anthony
2021-11-24 22:29 ` [TUHS] PL/I stuff - was: " Will Senn
2021-11-24 23:00 ` Rob Pike
2021-11-24 23:13 ` Richard Salz
2021-11-25 1:48 ` Nelson H. F. Beebe
2021-11-25 2:03 ` George Michaelson
2021-11-25 14:47 ` Clem Cole
2021-11-26 22:20 ` Alan Glasser
2021-11-26 22:33 ` Alan Glasser
2021-11-27 0:23 ` Dennis Boone
2021-11-27 0:30 ` Larry McVoy
2021-11-27 0:47 ` Charles H. Sauer
2021-11-27 2:43 ` Alan Glasser
2021-11-27 0:56 ` Warner Losh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.21.2111251312050.16592@sd-119843.dedibox.fr \
--to=usotsuki@buric.co \
--cc=douglas.mcilroy@dartmouth.edu \
--cc=paul.winalski@gmail.com \
--cc=tuhs@minnie.tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).