DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR LUA
Lua How to check what index belongs to value
local index={} for k,v in pairs(values) do index[v]=k end return index["a"]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Lua
#How
#check
#index
#belongs
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit