I've been working on this project for a little while now and I'm worried I might need to rewrite a whole lot of my code to work with arrays.
Basically what I'm trying to do is this: I have a log menu that I can record numbers and notes to in my app. It starts out with a default of three pages but extra pages can be added at any time. When you click on an area of the log it'll give you an edit box to work in and a "okay" button to save what you've input and that's where the array comes in. I'm tracking the pages of my log book using a list object and whatever page is currently selected in the list object is the page that is displayed. I want the information that is typed into the edit box to be saved in an XY array that corresponds to the current selected line in my list object.
What I thought would work is this:
(For a value)
When user clicks on button
>Set Alterable Value A to Val(Edittext$("editbox"))
>Write Value Alterable Value A("editbox") to (1, List Select("list"))
I have a counter set to always display what's being stored in the array at 1,1 (since both the list object and the array object are set 1-based index) but it seems that nothing is being written there. The only thing I can think that would be messing it up is the "list select("list")" expression. I have another counter set up that uses that same expression to display the current line number so I know the expression works.. it just won't work in my array for some reason.
Anyone have any idea where I'm going wrong here?