Good morning, I’m a college student struggling with Arrays in LiveCode. The code is as follows
global gDictionary
on mouseUp
end mouseUp
The objective is to display a word in the field “Keyword” while displaying its definition in the field “Definition.” The program needs to allow the user to add a word and its definition to the array as well as search through the array to find a specific word and it’s definition.
Help would be greatly appreciated, if you have more questions, please ask.
global gDictionary
on mouseUp
CODE:
answer “would you like to open a dictionary?” with “Yes” and “Cancel” if it is “Yes” then answer file “select a file” put URL “file: & theFilePath” into gDictionary split gDictionary by return and tab put gDictionary into fld “Keyword” else end if
The objective is to display a word in the field “Keyword” while displaying its definition in the field “Definition.” The program needs to allow the user to add a word and its definition to the array as well as search through the array to find a specific word and it’s definition.
Help would be greatly appreciated, if you have more questions, please ask.
Statistics: Posted by michaelrezendes — Thu Jul 25, 2024 5:33 am