realbasic-nug
[Top] [All Lists]

Re: Call confusion

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Call confusion
From: "Steve Garman" <realbasic at garman dot demon dot co dot uk>
Date: Sat, 31 Dec 2005 21:28:23 +0000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
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.


--
Steve Garman
Using REALbasic 2005r4 Professional on Windows XP Pro


_______________________________________________
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>