Andrew John Walker on Mon, 6 May 2002 14:55:52 +1000 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Inputing a file of numbers


I'm using the dos executable of GP/PARI V 2.0.20. Basically I have a
large file consisting of integers on separate lines. I would like to
be able to read them in separately, performing a set of operations
on them in turn. The only command I can find that may be able to
perform this is

? ?input
input(): read an expression from the input file or standard input.

however on reading the documentation I've found no mention of how
to change the input to from a file. Also \r and "read" read the whole
file at once which is not what I want. I would appreciate any help
on how to do this, and also the location of any more uptodate binaries
for dos/windows!

Thanks,
Andrew Walker