From: "Theodore E. Dennison" <dennison@escmail.mmc.orl.com>
Subject: Re: Problem with SMG!!!!
Date: 28 Feb 1995 18:21:35 GMT
Date: 1995-02-28T18:21:35+00:00 [thread overview]
Message-ID: <3ivpjf$eco@theopolis.orl.mmc.com> (raw)
In-Reply-To: D4ooy1.EL2@irvine.com
adam@irvine.com (Adam Beneschan) wrote:
> "Theodore E. Dennison" <dennison@escmail.mmc.orl.com> writes:
> > Unless I'm missing something, when you do screen I/O's with SMG, you
> > need to do ALL your screen I/Os with SMG. In other words, you need to
> > use the SMG output routines. Forget about Text_IO.
> >
> Hmmm . . . I've been using SMG$ routines for keyboard input and the
> regular SYS$QIOW routines for output, and I've never had a problem.
> In other words, there seems to be nothing in VMS that requires that
> you use SMG$ for output if you're using it for input.
>
> VAX Ada may be a different story, however. If TEXT_IO.PUT routines
If I remember correctly, TEXT_IO operations are mapped directly to
RMS$ routines, not to SYS$QIO routines. I also remember that mixing
Text_IO.Put* routines with SMG$ tended to cause problems. SMG$
provides its own text input and output routines, so why not use them?
If you "mix-and-match" your I/O routines, you are asking for trouble.
To put this in OO terms: Text_IO is an abstraction for user I/O. SMG
is a different abstraction for user I/O. Pick one abstraction, and
stick with it.
T.E.D.
prev parent reply other threads:[~1995-02-28 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1995Feb15.190318.1@clstcs>
[not found] ` <3hvj11$pk6@theopolis.orl.mmc.com>
1995-02-28 0:20 ` Problem with SMG!!!! Adam Beneschan
1995-02-28 18:21 ` Theodore E. Dennison [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox