Re: [Gambas-user] Gambas3, Byref is not working

2011-01-03 Thread Demosthenes Koptsis
oops i found it. i had to do this IncrementVariable2(ByRef Number1) On Mon, 2011-01-03 at 12:35 +0100, Benoît Minisini wrote: > > Hi, > > > > i made an example for BYREF but it is not working > > > > > > ' Gambas class file > > > > Public Sub Form_Open() >

Re: [Gambas-user] Gambas3, Byref is not working

2011-01-03 Thread Benoît Minisini
> Hi, > > i made an example for BYREF but it is not working > > > ' Gambas class file > > Public Sub Form_Open() > > Dim Number1 As Integer > > Number1 = 10 > > IncrementVariable1(Number1) > > Print Number1 > > IncrementVariable2(Number1) > > Pr

[Gambas-user] Gambas3, Byref is not working

2011-01-03 Thread Demosthenes Koptsis
Hi, i made an example for BYREF but it is not working ' Gambas class file Public Sub Form_Open() Dim Number1 As Integer Number1 = 10 IncrementVariable1(Number1) Print Number1 IncrementVariable2(Number1) Print Number1 End Private Su