Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Something similar to "instanceof" in Java?

Status
Not open for further replies.

grittyminder

IS-IT--Management
Oct 18, 2005
53
JP
Is there something in vbscript similar to "instanceof" in Java? For example if x has object type "Noodle", y has object type "Soup", and z has object type "Noodle", "x instanceof y" will return false whereas "x instanceof z" will return true. What I mean to ask is if there is some sort of object type comparison function in vbscript?
 
Have a look at the TypeName function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top