Reply to Phil M <[EMAIL PROTECTED]> 06-08-22 09:53:
> You can write one method like this:
>
> Function get(name as String) As Variant
>
> Which is a "loose" type variable which will attempt to convert the
> return value into the fixed variable type (string, integer, etc).
> Variants are the same variables used by REALbasic in the Dictionary
> and other similar classes. There are a few disadvantages, but there
> are a number of advantages too. Look up Variant in the Language
> Reference, and to tell what Type of data the variant stores, lookup
> Variant.Type() and VarType.
This is actually what I'm trying to hide with this coding style, the purpose of
this class is to handle this conversion for some specific data.
jem
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>