Page 1 of 1

UserInput

Posted: 03 Apr 2019, 02:55
by jp94189
hello
I test the function UserInput
what works
my question > can we cut the answer?



UserInput = 001
{
send, rrrrrrrr
}
---------------------------------------|column1--|--column2-|--column3--|
UserInput = 001-------------------|------0-----|-----0-------|------1-------|
UserInput = 011------------------ |------0-----|-----1-------|------1-------|
UserInput = 100-------------------|------1-----|-----0-------|------0-------|

if column1 = 1
{
send, xxxxxxx
}
if column2 = 1
{
send, rrrrrrrr
}
if column2 = 1
{
send, ggggggg
}

and not to do>

UserInput = 001
{
send, rrrrrrrr
}
UserInput = 010
{
send, aaaa
}
UserInput = 100
{
send, ddddd
}
UserInput = 011
{
send, zzzzz
}
UserInput = 111
{
send, wwww
}
}UserInput = 010
{
send, lllllll
}