thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
LoseReminder("Phone Mum.");
function_iJournal_Look() {
gReminder.Visible == true;
}
function AddReminder(String text) {
if (text == reminder[13]) {
lstJournal.InsertItemAt(0, text); }
}
function LoseReminder(String text) {
int Temp;
while (Temp < lstJournal.ItemCount) {
if (lstJournal.Items == reminder[13]) { // <------------- error here
lstJournal.RemoveItem(Temp);
Temp = lstJournal.ItemCount;
}
Temp ++;
}
}
reminder[0] = "Go talk to police.";
reminder[1] = "Go to Hall's Garage.";
and so on. This works ok, the code compiles fine until the point marked above. The error says "expected array index after Listbox::Items". I thought that was an array index that I put after that part.
I've been busting my head trying to make sense of this alone for days. If someone could help me understand what I'm supposed to be doing it would be greatly appreciated.
function AddReminder(String text) { // <------ this is where the error comes up.
lstMemo.InsertItemAt(0,text);
}
function LoseReminder(String text) {
int Temp;
while (Temp < lstMemo.ItemCount) {
if (lstMemo.Items == text) {
lstMemo.RemoveItem(Temp);
Temp = lstMemo.ItemCount;
}
Temp ++;
}
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.075 seconds with 13 queries.