home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global stormData1, stormPlot1, currentLocation, keyFlag, addHilite
- if the frame > (label("storms1") - 1) then
- exit
- end if
- set the visible of sprite addHilite to 1
- updateStage()
- if keyFlag then
- saveRecord()
- set keyFlag to 0
- end if
- set x to the number of lines in stormData1 + 1
- put " " into line x of stormData1
- set currentLocation to the number of lines in stormData1 - 1
- append(stormPlot1, -2000)
- append(stormPlot1, -2000)
- clearDisplay()
- set the visible of sprite addHilite to 0
- updateStage()
- replot(0)
- end
-