I just downloaded the LiveCode trial a few days ago and am loving it!
I have two questions to start off with that I need help with please:
1. How do I change this weird forum username that has been assigned to me: hyltonclarkeBUSH1Ex?
2. I have worked through the first three TickedOff videos. Currently, I am close to having it working, except I am struggling with the delete task action.
I have implemented my code using handlers that can all access a global array gTaskList.
The following delete line does not work, it clears out the entire gTaskList:
Code: Select all
on deleteTask
delete element gHilitedLine of gTaskList
go to card "list"
end deleteTask
gTaskList is the array that stores the Task Title and Task Description.
So my question is, how do I delete a single arbitrary element within an array?
Example, if the array has 5 elements, how do I delete the third element of the array only, and leave the rest in the array intact?
Thank you.
Hylton