Karim BELABAS on Tue, 09 Dec 2003 09:12:34 +0100


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

RE: Reading in a file


On Mon, 8 Dec 2003, McLaughlin, James wrote:
> I tried that (using " ") and also various shortened versions of the
> path.
>
> I used to use pari/gp on a unix system and I did not need quotes there.
>
> I shortened the file name to fu37.txt to minimize typing errors (Its on
> the desktop). Here are the exact error messages, with and without the
> quotes.
>
> With:
> (19:41) gp > \r "C:\Documents and Settings\jmclaugh\Desktop\fu37.txt"
>   ***   error opening input file: "C:\Documents and Se
>                                   ^--------------------

Does

(19:41) gp > read( "C:/Documents and Settings/jmclaugh/Desktop/fu37.txt" )

work ?

    Karim.

P.S: No access to a Windows box today. Can't test this myself...
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]