Is there some reason you are putting it into a member? You shouldn�t
need to using Martin's approach...

~Mathew



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony �str�m
Sent: Monday, August 18, 2003 10:56 AM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> delete the last RETURN in a list


I put gSoundList into a member and used:
delete the last char of member("videoTitle")
Otherwise it deleted the ] char.

Thank you all!
Tony


m�ndagen den 18 augusti 2003 kl 15.51 skrev Martin Pallett:

> Oops, a bit hasty on the reply button there
>
> try this
>
> delete the last char of gSoundList
>
> Next time I'll try to read the question more carefully before replying
>
> Martin Pallett
>
> At 14:50 18/08/2003 +0200, you wrote:
>> Hi List,
>>
>> I getNthFileNameinFolder into a gSoundList an put RETURN after every 
>> filename then
>> on mouseUp
>>   nLine = the mouseLine
>>   if nLine > 0 then
>>     sprite(me.spriteNum).member.line[nLine].hilite()gSoundList[nLine]
>>   end if
>> end
>>
>> When I click below the last filename in the scrollable field I get 
>> the error "Index out of range!" I can understand that.
>> How can I delete the RETURN after the last filename in the
gSoundList?
>>
>> TIA
>> Tony
>>
>> [To remove yourself from this list, or to change to digest mode, go 
>> to http://www.penworks.com/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!]
>
> Spike
> Rowe House
> Emson Close
> Saffron Walden
> UK  CB10 1HL
> +44 (0) 1799 529 100



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to