Problem on running dap's example

Teo Swee Lee <[email protected]>
Newsgroups gmane.comp.statistics.dap.user
Message-ID <[email protected]>
Hi,

I had installed dap-2.1 and was trying to run one of
the examples provided in cygwin, but had encountered
the following errors after I typed daprun amd128.c:

Preprocessing…
dappp: amd128.c :7 : expected { , got

Thus, I went to adjust amd128.c line 7 by moving  { 
from line 8 to line 7 and obtain the following: 

infile("amd128.dat", " "){
    char treat[7], block[7];
    double y;
    input("treat block y");
    outset("amd128", "treat block y");
    skip(1);
    while (step())
      output();
    }

After running again, I received the messages
Preprocessing, Compiling, Executing…followed by an
error - (input) unknown variable: treat.

Isn’t treat a variable we have declared in the infile
statement body? May I know what has gone wrong? I have
tried running other examples and encountered the same
problem.

Hope that you can clear my doubt and thanks for your
time!

Yours sincerely,
Swee Lee.

__________________________________________________
Do You Yahoo!?
Get clicking with thousands of local singles today!
http://asia.yahoo.com/lavalife
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.