我有这个数组,有一些值(int),我想检查用户给出的值是否等于该字符串中的值.如果是,则输出"Got your string"之类的消息.
列表示例:
local op = { {19}, {18}, {17} } if 13 == (the values from that array) then message else other message
如何才能做到这一点?
lua lua-table
lua ×1
lua-table ×1