HP3000-L Archives

May 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Tue, 21 May 2002 15:55:28 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
At 15:40 -0700 5/21/02, Larry Barnes wrote:
>OKAY, you pegged my interest here.  I ran a test and I was able to run quad
>inside a While statement.  The trick is you have to prime the quad input
>command before entering the while statement.
...
...
>         run quad.util.lps < qdcmd


This is precicely what Stan and I (and perhaps others) have been saying. In
order to run programs inside WHILE loops, you have to redirect the STDIN of
the program. And that's exactly what you're doing here. But you certainly
make it appear to be different by doing all that complicated message file
stuff. In any case, what you *CAN'T* do (and this is explained in detail by
my prior posting) is something like:

   !while true
   !  run quad.util.lps
      some
      collection
      of
      valid
      quad
      commands
      exit
   !
   !# more MPE stuff
   !endwhile
   !eoj


Barry Lake                               [log in to unmask]
Allegro Consultants, Inc.                http://www.knowspam.allegro.com
(408)252-2330
-------------

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2