Hi I'm just learing the Basics here.. sorry if these questions seem too easy for you smarties out there....
1.
I can't explain why I can not assign a string of text to a variable... eg
MyText VAR BYTE ' Assign the Variable
MyText = "X" ' Place Letter X into MyText
Above compiles Ok.. But,
MyText VAR BYTE[5] ' Assign the Variable
MyText = "HELLO" ' Place Text 'HELLO' into MyText
Doesn't compile. Any Ideas???
2.
If I use SERIN2 to get a line of serial data into an array, is each character stored in the array as one string (like in a LOOKUP table), or as a group seperate elements?
eg
MyText VAR BYTE
SERIN2 PININ, 188, [STR MyText\5]
MyText = "HELLO" OR "H","E","L","L","O"
Thanks if you can help
Bookmarks