lala, that was funny, thanks you made me laugh.

Both these work well steve

HSERIN [WAIT("**play#"), STR lala\10\"!"]
hserout [str lala\10]


Well you said it was ok to ask so I have another.

loop:
HSERIN [WAIT("**play#"), STR lala\10\"!"]

' **play#hockey!

' **play#tennis!

' **play#pool!

' **play#badmington!

lala will be contain one of these, can I make them into one string to allow an if statement to branch to different code.

I see I could do this with simple numbers like 1,2,3,4,5 etc but I want to use strings style names if possible.


I found some code that some guy had done like this:
IF relay = 1 THEN outr1 ' if request is for relay#1 then goto relay#1 routine

I would like to make it like this:


If lala\10 = "badmington" then badmington


badmington:
' the code for badmington
GOTO loop

Is that possible Steve

Thanks again

Lory