Just remove the outer parenthesis and it should work.
Make sure you have another WRITE somewhere in your program that writes a BYTE without any formulas.
It doesn't have to actually execute, but it needs to be somewhere in the program.
<br>
Just remove the outer parenthesis and it should work.
Make sure you have another WRITE somewhere in your program that writes a BYTE without any formulas.
It doesn't have to actually execute, but it needs to be somewhere in the program.
<br>
DT
Thanks for the replies.
yes it doesdoes it still give you errors if you change it to this?
WRITE 1,(in_stream[0]-32)
DTs two comments were both required to get it working.
Do you know is this considered and error that will be fixed in future releases? It seems like you should be able to have any number of parenthesis (within reason) as it previously did in 2.47 and the extra write statement seems like a clever patch, but definitely you should never have to write code that won't be used to make other code work.It is good to know how to solve the problem. Hopefully this thread will help someone else, though I am pretty sure I have read your write one byte comment in a previous thread a long time ago and just forgot all about it until you restated it. As always thanks for the help.
David
They are known issues with PBP 2.60.
The EEPROM commands were modified considerably to allow WORDs and LONGs.
A couple errors crept in, and they are supposed to be fixed in the next patch.
Keep an eye on this page ...
Known issues in PICBASIC PRO Compiler 2.60
http://melabs.com/support/pbpissues.htm
<br>
DT
Hi, Darrel
I catch the thread in flight ...
As you have somewhat modified the PbP files ( DT Goodies i.e. ...) there should be a little problem with patches ( ??? corrected wayyyyy before the patch comes, I suppose ....) and upgrades ...
For us ... patch refuses to apply if files have been modified, so we get a brand new full installation !!!
How do you proceed not to loose or forget the mods each time a new upgrade comes ???
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
ehhmmm,... make notes in a notepad maybe???
Yeah this is an issue that bothers me too. I got 2.50 but never replaced my old installation just because I am lazy to find which files I modified...
Ioannis
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Alain, we need it don't we?
If you think any way of mking updates less painful, do tell us.
When Darrel wakes I am sure he would give an idea on this.
After all I bet he has the most modified PBP directory!
Ioannis
Bookmarks