I wonder if there are any function in lua that can replace the "Select Case" function in vbscript? :D
if
elseif
elseif
end
:))
hehe yes.. but nothing else?
If you want something more complex, you can associate functions with a table ;)
But there is no case instruction.
indexed tables is as good as a case statment is...
here : (http://board.univ-angers.fr/action.php?action=getlastboard&threadid=353&sid=bed0f7e29ecf05a7ae1b33f3ebf6bab1) is a good example of how to do.. hope you understand..
//Skrollster