Ty for ure help.. but the script doesnt do exactly what i want.
With all the (case of) scripts i wrote then,
The user can choose for example just 2 chapters of 4 possible (ABCD) in any
order. The result will be for example "DA" in the "answer" member
I tried to modify the script u gave me .. and came up with this:
--------------
global answertext
on mouseup
fieldcount = 4 --change this to 15, or whatever is the total number of
chapters/fields
chapterletters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --enough for 26 chapters
answertext = "" --the text that will go into your "answer" member
repeat with a = 1 to fieldcount
if the text of field a = empty then
nothing
else
put char (value(the text of field a)) of chapterletters into char a of
answertext
end if
end repeat
member("answer").text = answertext
end
----------
But the scripts only works if u put a number in all of the fields..
Please can u help me again?
/Mattias
>From: Colin Holgate <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: <lingo-l> please help
>Date: Sat, 16 Jun 2001 21:54:11 -0400
>
>>If it's asking for an integer, give it an integer:
>>
>>put char (integer(the text of field a)) of chapterletters into char
>>a of answertext
>>
>
>Or value(the text of field a). I did just type my script into the
>e-mail, so that may not be the only imperfection. It would be good
>for you to try and understand the general technique, and then you can
>modify it if you need to.
>
>
>>>I understand its better to drag chapters.. i better try that too
>>>but what is wrong in the script?
>>
>>I don't understand "drag chapters"
>
>I was suggesting a more graphical way for the user to select the
>order of the chapters, by dragging them into a play list.
>
>
>[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!]
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
[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!]