Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

8.3 Variant Handling

A Function Library is a component that contains a set of routines defined using the MthRoutine command. These function library routines can be used in expressions. To handle objects of type *VARIANT, you need to use the variant function library #PRIM_LIBV. (For string, number, date and time, using Intrinsic Functions is simpler than using a function library.)

...

Also the EditorChanged and ItemChangedAccept events of tree and list views return the Value parameter as a variant. Similarly, many ActiveX controls return and accept values as variants. You can also use variants in your own dynamic programs for generic processing of values regardless of their type. For example:

     Define_Com Class(*VARIANT) Name(#lclVariant)

...


Also

...

See

8.2 Function Libraries

Intrinsic Functions