home *** CD-ROM | disk | FTP | other *** search
- on setindex
- global maplist, gsectlist, gsublist, gsubsublist, gindex, gindexoffset
- set ref to line the frame of the text of cast 4137
- set gsectlist to value(item 1 of ref)
- set tprob to gsectlist mod 2
- if tprob = 1 then
- set lupref to "I" & line gsectlist of the text of field 1
- else
- set lupref to "p" & line gsectlist of the text of field 1
- end if
- put the text of cast lupref into field 2
- set gsublist to value(item 2 of ref)
- if tprob = 1 then
- set lupref to "I" & line gsublist of the text of field 2
- else
- set lupref to "p" & line gsublist of the text of field 2
- end if
- set the foreColor of field 3 to 255
- put the text of cast lupref into field 3
- set gsubsublist to value(item 3 of ref)
- end
-