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!]
