home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global theArticle
- set the text of field "locate" to " "
- setDispHead1("locate")
- put "A,Air" into line 1 of TheLoc
- put "L,Land" into line 2 of TheLoc
- put "W,Water" into line 3 of TheLoc
- put "N,Animals" into line 4 of TheLoc
- put "P,People" into line 5 of TheLoc
- put "E,Energy" into line 6 of TheLoc
- put "R,Responses" into line 7 of TheLoc
- put "D,The Future" into line 8 of TheLoc
- repeat with n = 1 to the number of lines in TheLoc
- if char 2 of theArticle = item 1 of line n of TheLoc then
- set tempSec to item 2 of line n of TheLoc
- exit repeat
- end if
- end repeat
- set tempSec to "Article taken from the subject" && tempSec
- set the text of field "locate" to tempSec
- end
-