|
|
Le 06/04/2017 à 01:56, Bald Eagle a écrit :
> Would it take a lot to implement values in a #switch block, so that letters or
> words could be used as selection criteria as well?
>
> If not, or for the time being, is there a more elegant way to do this other than
> a ton of #if ... #end's, or creating some sort of conversion index for the
> strings?
>
>
for letter, you can convert it to its code in the switch clause :
#switch(asc(Char))
#case(65)
...
No clue for words, sorry.
Post a reply to this message
|
|