member("whatever") = member("THIS_MEMBER_HAD_BETTER_NOT_EXIST_OR_THIS_CODE_WILL_BE_BIT_BY_A_MOOSE")
if they are equal, then the "whatever" member doesn't exist. Then they can change those types all they want, you're just checking to see if they're both empty members.
roymeo
At 07:35 PM 6/2/2004, you wrote:
On 3/06/2004, at 4:01, [EMAIL PROTECTED] wrote:
You could write it as: put(member(1, 1).name) -- "MyMember"
If you are using Dir MX when member 1 does not exist: put version -- "9.0" put member(1,1).name -- "" put member("fred",1).name -- "" put member("fred",1).number -- -1
But try using this in Dir MX2004 when member 1 does not exist: put version -- "10.0" put member(1,1).name -- "" put member("fred",1).name Script error: Property not found #name put member("fred",1).number Script error: Property not found #number
Who fixed this when it wasn't broke?
[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!]
----------- Roy Crisman Macromedia Director Programmer, Lingo Guru, Multimedia Producer Greater Rochester Macromedia User Group (GRMMUG.org) Coordinator 277 N. Goodman St. Rochester, NY 14607-1162 (585)473-3492 home (585)615-2873 cell roymeo(AT)brokenoffcarantenna.com
[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!]
