There's only ONE problem with the notepad system. I have defined each note lsomehow like this:
var note1;
note1.contents="Blaa";
note1.added=false;
Now, when I execute a function called AddNote() (which works like this: AddNote(note1) ), I would like it to set note1.added to true.
method AddNote(nmbr)
{
if(nmbr.added==false)
{
WinNotepad.DoStuff();
nmbr.added=true; // if nmbr was note1, this line would mean note1.added=true
}
}
But this doesn't work... Is there any way to make it work?
If's impossible to make it work, well, we have to resort to loads of state variables...
:D
Thanks!