incorrect example program: ledbar.bas ?

In this category you can exchange your programming questions and solutions.
Post Reply
PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

incorrect example program: ledbar.bas ?

Post: # 1164Post PaPi
Sun Jan 12, 2014 9:31 am

Marco,
there are an error in one example program:
/examples/user defined components/ledbar.bas
This is in the newest version of FNXBASIC,? december 2013, and it is a compile-time error occurs.
The error message:
"error 72 line 70 `TEST` already used" .

But, with the oldest version (02.2013) go to the translation correctly...
What could be the reason?

PaPi


PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

incorrect example program: ledbar.bas ?

Post: # 1165Post PaPi
Sun Jan 12, 2014 8:15 pm

And, there are a different but similar error in another program:
/examples/File handling/search computer.bas
Error message: "error 1 line 39 Variable `pointer` already exists."

PaPi

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

incorrect example program: ledbar.bas ?

Post: # 1166Post Marco
Mon Jan 13, 2014 4:24 pm

Hi, you can rename pointer and test then it should work.
Test is internal used as a test for me to solve problems, i can remove it the next update.
pointer is a part of a future function to be build in for dynamicly declaration of objects, i `m working with it.
I hope this will explane it to you.

best regards

PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

incorrect example program: ledbar.bas ?

Post: # 1167Post PaPi
Mon Jan 13, 2014 4:53 pm

Thank you very much, Marco.

Post Reply