Hello lists,
Happy New Year!
Thank you Roy for your help:-).
Below is a code segment which i got from Gary sample director file and is
what I'm using (with minor changes) in the project we are working now
-- this is in the movie script
on computeResults
-- get list of correct answers
correct = member("Correct Answers").text
-- find the number that match up correctly
numright = 0
repeat with i = 1 to correct.line.count
if value(correct.line[i] = gAnswerList[i]) then
numright = numright + 1
end if
end repeat
--display result to layout screen
put numright into field "score" -- display score
put i - 1 into field "number q" --display number
of questions
put ((numright * 1.0 / (i - 1))) * 100.00 into field "percent"
end
I am not an expert in Lingo so if anybody can help me with how to code or
an idea on how to go about it will be highly appreciated.
Also, can anybody help our team, on the possibility of having a program
that will disable the software from running when the time for a trial
version has expired? We intend to give a trial version to the clients and
after, let say two weeks, the program will be disabled.
Please, please do help us lingo programmers.
A million thanks in advance. :-)
ellen :-)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]