Page 1 of 1

incorrect example program: ledbar.bas ?

Posted: Sun Jan 12, 2014 9:31 am
by PaPi
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


incorrect example program: ledbar.bas ?

Posted: Sun Jan 12, 2014 8:15 pm
by PaPi
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

incorrect example program: ledbar.bas ?

Posted: Mon Jan 13, 2014 4:24 pm
by Marco
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

incorrect example program: ledbar.bas ?

Posted: Mon Jan 13, 2014 4:53 pm
by PaPi
Thank you very much, Marco.