Ah, so there's no automatic casting to variant for calls... that actually
makes good sense.
Thanks!
--Ed
On 12/31/05 3:28 PM, "Steve Garman" <realbasic at garman dot demon dot co dot
uk> wrote:
> In a message regarding Call confusion dated Sat, 31 Dec 2005 15:05:33
> -0600, Ed Kleban said that ...
>
>> I'm looking for documented or known answers for what is supposed to be
>> thecorrect answer here, not guesses or opinions.
>
> Choose for yourself which category the following correct answers fall into.
>
>
> The literals 23 and 42 are integers.
>
> The only way to call the variant versions is to
> Dim variable as Variant
> and call
> foo(variable)
>
> Of course
> foo("23") will use the string version.
>
_______________________________________________
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>
|