weird string problem if using hashtag (really pound sign)
Posted: Mon Feb 01, 2016 11:27 am
When I do this...
t$ = "#mmbasiciscool"
serialprintln t$
It prints a blank
But if I do this...
t$ = "mmbasiciscool"
serialprintln t$
it prints mmbasiciscool.
Problem is, I need to be able to use the # sign in a string to send twitter stuff. Any ideas here?
EDIT...
Save this program as default and run it. After running it, go back to edit and open the default program and see what it does to the listing. Very strange.
t$ = "#mmbasiciscool"
serialprint "first one =
serialprintln t$
t$ = "mmbasiciscool"
serialprint "second one = "
serialprintln t$
end
Thanks!!!!
t$ = "#mmbasiciscool"
serialprintln t$
It prints a blank
But if I do this...
t$ = "mmbasiciscool"
serialprintln t$
it prints mmbasiciscool.
Problem is, I need to be able to use the # sign in a string to send twitter stuff. Any ideas here?
EDIT...
Save this program as default and run it. After running it, go back to edit and open the default program and see what it does to the listing. Very strange.
t$ = "#mmbasiciscool"
serialprint "first one =
serialprintln t$
t$ = "mmbasiciscool"
serialprint "second one = "
serialprintln t$
end
Thanks!!!!