Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua dict

local table = {
	myFirstValue = "helloWorld",
    mySecondValue = "hi"
}

assert(table.myFirstValue == "helloWorld")
assert(table["mySecondValue"] == "hi")
Comment

PREVIOUS NEXT
Code Example
Lua :: lua string count occurrence 
Lua :: what does local mean in roblox 
Lua :: roblox math.random 
Lua :: lua get time 
Lua :: lua indexof 
Lua :: append to table lua 
Lua :: roblox camera manipulation 
Lua :: to the power of in lua 
Lua :: how to make a welcome badge roblox lua 
Lua :: how to make everyone on team see each other name roblox 
Lua :: roblox lua how to apply gravity to a object 
Lua :: run a function in lua 
Lua :: lua loop through string 
Lua :: dubble and big comment 
Lua :: lagstep roblox 
Lua :: roblox lua 
Matlab :: find duplicates in matlab arrauy 
Matlab :: matlab symbolic simplify fraction 
Matlab :: matlab exclamation mark 
Basic :: random numbers visual basic 
Basic :: wussup 
Elixir :: elixir get_in 
Elixir :: elixir strings 
Scala :: Scala methods 
Scala :: how to print message in scala 
Excel :: excel use offset in conditional formatting 
Excel :: google sheets conditional formatting other sheet 
Perl :: perl exit loop example 
Pascal :: pascal const 
Gdscript :: godot yield idle frame 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =