Rob Beynon skrev:
Colleagues,
I have a small problem that is driving me nuts..
I have a series of lines in a field, and I want to program the
selection of those lines according to the last character of the
line...I wrote a button script thus...
on mouseUp
select empty
put 0 into LineNo
repeat for each line peptide in card field "audit"
add 1 to LineNo
if char(length(peptide)-1) of peptide = "K" then select line LineNo of field
"audit"
end repeat
end mouseUp
Try
if char -1 of peptide = "K" then select line LineNo of field "audit"
--
Signe Marie Sanne
1. amanuensis/Senior lecturer
Romansk institutt Tlf. +47 55 58 21 27
Øisteins gt. 1 Epost: [EMAIL PROTECTED]
Universitetet i Bergen
http://www.hf.uib.no/mlab/Info/sms.html
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution