Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would I ins?ert something i?nto a table [REA?D DESC]

Asked by 4 years ago
Edited 4 years ago

So I was trying to insert something into a table then I realized that

When I did

Tbl = {}

TblVal = {'G',S = false, G = true,false, true}

table.insert(Tbl,TblVal)

I have to do Tbl.TblVal.S

But I only want the values inserted so I can just do Tbl.S how would I do this

WHEN DO YOU TABLE.INSERT YOU GOTTA DO

Tbl.TblVal.S

BUT WHAT I WANT TO DO IS


TBL.S 
0
Is it possible for you to elaborate on what you need to happen? Is it you want to move the vlaue from TblVal into Tbl or only one of said values? MrCatDoggo 213 — 4y
0
I like the question, heres a free upvote greatneil80 2647 — 4y
0
Also for an answer, you could just do {'G',false,'S',false} and counter off of those 2 by using % 2 greatneil80 2647 — 4y

Answer this question