Am Dienstag, 2. September 2008 16:35:47 schrieb Benoit Minisini:
>
> The ByRef feature was mainly added to help people porting VB project.
>
> It does not work by passing pointers, but by keeping the value of the
> argument when the function ends, and put it into the expression passed
> ByRef.
>
>
On mardi 02 septembre 2008, [EMAIL PROTECTED] wrote:
> Am Dienstag, 2. September 2008 12:06:09 schrieb Emil Tchekov:
> > Forgot to gave you example (VB)
> >
> >
> > sub main()
> >
> > dim a as integer
> >
> > a=1
> >
> > debug.print a, pr1(a)
> > debug.print a, pr2(a)
> > debug.
Am Dienstag, 2. September 2008 12:06:09 schrieb Emil Tchekov:
> Forgot to gave you example (VB)
>
>
> sub main()
>
> dim a as integer
>
> a=1
>
> debug.print a, pr1(a)
> debug.print a, pr2(a)
> debug.print a
>
> end sub
>
>
> private sub pr1(byval a)
>
> a=2
>
>
!)
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 2. September 2008 11:28
An: mailing list for gambas users
Betreff: [Gambas-user] ByRef
Hello List!
I've switched to development version 3.0 and I'm trying to
list for gambas users
Betreff: [Gambas-user] ByRef
Hello List!
I've switched to development version 3.0 and I'm trying to get rid of this
ByRef thing. I wonder, if someone could explane the syntax to me!
Thanks in advance!!
Gre
Hello List!
I've switched to development version 3.0 and I'm trying to get rid of this
ByRef thing. I wonder, if someone could explane the syntax to me!
Thanks in advance!!
Greetz
Stevie
-
This SF.Net email is sponsored