General information
Category:
Coding, syntax & commands
>>There's one problem with this: if Thisform.MyObject doesn't exist at all, I believe you'll generate an error. In addition, this code is not as clear as to intent, making maintenance more difficult in the long run.
>
>David,
>
>Nope, you just get U as the return type for undefined.
>
>JimB
I think David is somehow right. The code loses in readability. But I like it.
It may also give you a problem on a long run if MS decides that Name is no longer a property for all objects. After all, is not specified that all objects have it. :)
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only