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

What Value stores arrays?

Asked by 5 years ago

What Value (NumberValue, ObjectValue, StringValue, etc) can store arrays

0
Neither User#19524 175 — 5y
0
I suppose string value can store arrays values to some extent xxXTimeXxx 101 — 5y
0
How User#19524 175 — 5y
0
By inputting the data one by one probably then putting a mark as to how the index is seperated from each other like string.Value = [0] .. " -seperater-" .. [1] etc2. using a for loop to put it and identify which is [0] [1] by finding "-seperater-"s. Just an idea though xxXTimeXxx 101 — 5y
0
what's the point of that? just JSONEncode it LegitimatlyMe 519 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

One way of storing arrays is to use a Module Datastore or just a Module Table if you are only planning on holding the arrays until the server shuts down (No saving).

There is no value that can hold arrays and using a string value to hold it would be bad practice as it is not very practical.

Ad

Answer this question