DescriptionThis library contains a series of functions that allow you to manipulate strings in such a way that they act as multidimensional arrays.
There's a few benefits with using this data structure.
Elements in a mock can be both integer or string simultaneously.
A mock array can be expanded to any nth dimension.
Unlike arrays, mocks can be detected and anticipated. This is useful for passing arrays smoothly in and out of functions.
Mock arrays can be 'jagged,' and contain various dimensions simultaneously. For example, GET(A$,0) may be a single element, while GET(A$,1) may be an entire 2D array.
However, there's also a few downsides.
The data structure relies heavily on string manipulation, possibly making it difficult to repeatedly use frame by frame.
Manipulating higher dimensions can be tricky (to the mind), especially since a mock array can have multiple dimensions simultaneously.
The limit for an element that is an integer is 2^16-1, meaning it can't store the whole spectrum of integers.
It doesn't store floats (yet).
If you're not careful, you could accidentally pass the wrong data type. For example, you may accidentally assign a string variable an integer value, which would cause an error.
If you try it out, let me know what you think, and what features you'd like to see! I'd be delighted to see what kinds of functionality I can add to this thing.
The purpose of this was to have a way to manipulate higher dimensional arrays with a good deal of flexibility, which SB doesn't offer. As this is version 1.0, there isn't a great deal of flexibility, but there is flexibility nonetheless. In future versions, I'd like to include precision adjustments to multidimensional arrays. InstructionsInstructions and syntax all located and thoroughly described in the program.