Re: Stumped by open("PRN","w")
- Posted by Jim <futures8 at EARTHLINK.NET> Jan 21, 2001
- 647 views
Hi,cEnsE, Thanks for trying to help. But, this is one of those very rare instances in which I think you may have missed the mark. The code in question ThePrinter = open("PRN","w") has been pretty much copied directly from an example given in the Euphoria documentation (see "open" in the docs). The only difference being that I named the receiving variable differently, i.e., ThePrinter instead of Rob's file_num. I did, however, try open("LPT1","w") and open("prn","w") and a few other things before harrassing the list with my question. As I said, thanks for taking the time to try to help. Regards, Jim cEnsE wrote: > > What exactly is this "PRN" ? the way you have it coded, if im not mistaken, > the open call will open a file in the current directory called PRN. I may > very well be mistaked but from a quick look over this "PRN" stands out as a > possible source of your problem. > > I hope that helps, but if not, i tried. > > -- > evil, corruption and bad taste > ^[cense]