HP3000-L Archives

September 1998, Week 1

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:
Jan Gerrit Kootstra <[log in to unmask]>
Reply To:
Jan Gerrit Kootstra <[log in to unmask]>
Date:
Fri, 4 Sep 1998 22:42:23 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Steve Bagdon schreef:

> Anyone have a quick example on how to read through an ascii file,
> waiting for eof, and reading each record into a UDC variable for
> processing? Looking for an example in the MPE/ix Commands Reference
> Manual (Vol I/II), but nothing exactly as I need is in there.
> Repeatedly using 'input' against an acii file returns the first line
> of the file.
>
> There's a reason we want this in UDC, so it would be good to figure
> this out. Anyone? Thanks!
>
> Steve B.

   Steve,

using the input against an ascii file can be done, but for that you need
to copy the original file contents into a message file. The message file
uses destructive reads (each record is deleted after a read command).


Good luck,


Jan Gerrit Kootstra

ATOM RSS1 RSS2