At 5:15 PM -0400 5/2/01, Ian Jempson wrote:
When I use the ilk() function it seems that instances of a parent script
are shown as #instance. Since I have a list where any given element may be
one of three different classes, is there any way that lingo can easily
return the name of the parent
When I use the ilk() function it seems that instances of a parent script
are shown as #instance. Since I have a list where any given element may be
one of three different classes, is there any way that lingo can easily
return the name of the parent script that any arbitrary object is an
instance
An easy way is to take use a string version of the object reference,
take word 2 of it, then strip the first and last characters. I've
got one right here:
showglobals
-- Global Variables --
version = 8.5
goGame = offspring Game 1 b9fed20
goSongPlayer = offspring SongPlayer 1 ba0ac54
theRef