At 23:55 26.12.2000 +0000, Jason [JZway.com] wrote:
>Hi
>
>Is there a way to test if a frame exists via lingo? I tried :
>
>if voidP("frameName") then
> put "non existant frame!!"
>end if
which will never do anything since "frameName" is a string variable with a
discret value and therefore not vois at all.
I believe that what you are looking for is a way to detect if there is a
marker in your score labeled like some certain expression.
There is an archaic element in lingo called labelList which really is not a
list at all but rather a string with all the labels of a score separated by
RETURN.
so something like this might work for you:
on isDefinedLabel expression
return (the labellist contains expression & RETURN)
end
best regards
daniel plaenitz
>with no luck.
>
>[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!]
[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!]