Input statement


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on March 23, 2008 at 10:30:14:

I see a problem (maybe). This is about the input statement..

You know Input(LUN)a$;b$;c$... etc

Well, I see that it will perform a separate read for each variable!

This is fine for devices, but it seems wrong for files. This means that you can only have one variable per record! Now, Formatted reads work correctly.

fmt: format a$;b$;c$...etc
read(LUN,FMT)

will read successive variables from the same record in the file.

The question is.. should I change the behavior of this, quite elemental verb?

Would any of your programs stop working correctly?

Remember, this is for UN-formatted input from data files only.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]