Hi,

Thanks to Tissy and Chuck for your examples.

I can conclude that you don't use the BUTTON command when you "read" a switch.
I just thought that it was possible to set up all the parameters with the BUTTON command.

But I think that your examples teach me that using IF - THEN and GOTO or WHILE - WEND gives me much better possibilities.

Gert