Nothing is impossible but i'll prefer use some simple number and use BRANCH or BRANCHL statement for that. Keep it simple at least you can refer to some constant.
hockey con 0
tennis con 1
pool con 2
badmington con 3
when you do your tests...
if lala=hockey then goto hockey
and others. But i'll still prefer the BRANCH option
serdata var byte
sport var byte
HSERIN [WAIT("**play#"), dec Serdata]
sport=serdata
BRANCH sport,[hockey,tennis,pool,badmington]
For the string request... i'll not using this so...
(
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks