realbasic-nug
[Top] [All Lists]

Re: Call confusion

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Call confusion
From: Ed Kleban <Ed at Kleban dot com>
Date: Sat, 31 Dec 2005 15:33:26 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcYOUdVHFCBlaHpFEdqt6gANk0o3Jg==
Thread-topic: Call confusion
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>


<Prev in Thread] Current Thread [Next in Thread>