Hi everyone!
I'm trying to make a database (a small dictionary
database) where:
1. a user can search for words that they are looking
for by typing it on a text box and later when the user
hit the button "search" the meaning of the word will
be displayed on the other text box.
2. a user can add more words to the database. in
condition that when the user switch off the computer
and check again the data that user enter are still
there.
I have been trying to make the script and had the idea
of using file IO xtra but still it is too difficult me
me.
Any help would be greatly appriciated!
I have tried using the Property List.
for seaching I use this:
-- this is on movie script
global database
on EnterFrame
database = [#cat:"an animal",#house:"a place where
people live"]
end
--this is for seaching--SO FAR SO GOOD!
global database, enter
on CheckEntry
enter = symbol(member("entry").text)
member("meaning").text = string(getprop
database,enter)
end
--for adding more word to the database -- THIS IS THE
PROBLEM
global database, definision
on AddWords newword
newword = symbol(member("entry").text
definision = string(member("meaning").text
Append (database,newword,definision)
end
_____________________________________________________________________________
http://geocities.yahoo.com.au - Yahoo! Australia & NZ GeoCities
- Build your own Web Site - for free!
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]