Loading ...
Sorry, an error occurred while loading the content.

[PBML] Re: reading a text file

Expand Messages
  • Frank Hale
    ... What is the if(-e /cand2.txt ) { ??? Is that valid? I mean the -e part. Seems to me your problem is there. The condition is false so it tells you it can t
    Message 1 of 1 , Nov 12, 1999
    • 0 Attachment
      > if (-e "/cand2.txt") {
      > open (LEITURA, "/cand2.txt");
      > } else {
      > print "The file /cand2.txt doesn't exist!\n";
      > exit;
      > }
      >

      What is the if(-e "/cand2.txt") { ??? Is that valid? I
      mean the -e part. Seems to me your problem is there.
      The condition is false so it tells you it can't find
      the file.


      __________________________________________________
      Do You Yahoo!?
      Bid and sell for free at http://auctions.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.