OK guys...this one's a real googly. I created the following script:
property pName
on new me, vName
pName = vname
return me
end new me
on show me
put pName
end show me
I keyed in the following in the Message window:
gInstance = new(script "Parent", "Pranav")
put gInstance.show()
and as expected, I get "Pranav" in the output.
Now here's the glitch. The script is NOT a Parent, but a Movie script.
Now, agreed, that it might be possible to make instances of movie scripts, but then,
whats the use of Parent scripts? Anyones got any answers?
Thanx
Pranav
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
Participate in crazy auctions at http://auctions.rediff.com/auctions/
[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!]