Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FileInStream
#1
Hi Dean, 

Can you take a look at this code and tell me if anything looks amiss? The file to be parsed is located here C:\Program Files (x86)\CQC 

The macro is failing on this line CimisFile.Open("\\daily204.csv"); . It used to work a few years back, but something is going wrong now. 

Thanks. 
Code:
Method Start() Returns Int4
    Begin
        Locals=
            FileInStream CimisFile;
            Card4 IndexErr;
            String TarLine;
            String CurLine;
            StringTokenizer STok;
            SimpleFldClient FClient;
            Float8 EtoFlt;
            String EtoStr;     
        EndLocals;
       
        //Open CimisFile
        CimisFile.Open("\\daily204.csv");
Reply
#2
I figured it out, Dean.

C:\programfiles\cqcdata etc.

I was putting the file in the wrong spot.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [CML] FileInStream in Constructor Squintz 1 971 06-06-2008, 02:27 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)