You could try wrapping the xtra into a script, like so -
-- script "FileIO"
property ancestor
on new me
ancestor = script("FileIO").new()
end new me
-- Welcome to Director --
x = script("FileIO").new()
put x.count
-- 0
Would that do what you want?
Regards,
Pranav Negandhi
This email is a natural product. The slight variations in spelling and
grammar enhance its individual character and beauty and are in no
way considered to be flaws or defects.
<snip>
At 14:27 02.04.2003 +0530, you wrote:
>-- Welcome to Director --
>x = script("XX").new()
>
>y = xtra("FileIO").new()
>Why do you want to differentiate between the two types of instances
>anyways?
because:
put x.count
-- 0
put y.count
<< script error >>
daniel
<snip>
[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!]