Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
set type = anyObject.typeOf();
SemanticsReturns the type of any object at run-time. To get the type the object has had at compile-time use the staticTypeOf. typeOf() and staticTypeOf() may return the same type, though.
SubstitutablestypeCan be any variable or object attribute having the type String
anyObjectCan be any object.
Examples
Code Block
languagenone
set aString = anObject.attribute if anObject.attribute.typeOf() = "urn:Base_Types.String";

aString gets the value of anObject.attribute assigned, if the type matches.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamelist_type_strings
PageWithExcerptINTERNAL:_designer_excerpts_asl
shouldDisplayInlineCommentsInIncludesfalse

rp
Panel
titleRelated Pages: