Hi All,
Yup....initilisation....
I declared an array:
Code:
...
RxBuffer VAR BYTE(18)
...
and used it like this:
Code:
HSERIN 200,READ_SMS,[WAIT("+CMGR:"),WAIT(10),DEC4 RxSMSCode, STR RxBuffer\180\10]
After having had a good fondue (and read all your comments), I finally pointed out where my mistake was hiding. And I don't mean to convince anybody here about the healthy benefits of swiss cheese (not for the liver but apparently for the eyes), but...there must be something ![Big Grin](images/smilies/biggrin.gif)
The behaviour of the program is really confusing with this error. Some variables stay as declared an others have their value "randomly" changed.
Arghhhh!! This one cost me hours....![Embarrassment](images/smilies/redface.gif)
Thanks to All again
Bookmarks