Re: [Gambas-user] GambasTester 0.9.9

2010-11-17 Thread Jussi Lahtinen
More errors fixed from GambasTester, and now self test ignores comment lines. Jussi On Mon, Nov 15, 2010 at 23:02, Jussi Lahtinen wrote: > OK, these are not the errors I meant... These are obviously my errors. > I fixed Format$ to be compared against Str$(). > > There might be other similar err

Re: [Gambas-user] ARM hardware

2010-11-17 Thread Fabien Bodard
a new step :) Le 17 novembre 2010 17:33, Benoît Minisini a écrit : >> Hi Benoit, >> >> No question or bugreport this time... > > Ow. It's a pity. :-) > >> >> Just a mail to tell you that some users of my project managed to install >> and run Gambas (and DomotiGa) on small ARM computers like the >

Re: [Gambas-user] Elusive Gambas3 crashing bug

2010-11-17 Thread Jussi Lahtinen
> This fails randomly: > > If DateDiff(Now, DateAdd(Date(Now), gb.Day, 2), gb.Day) <> 2 Then > Return 160 > Endif > > Though, today with new revision (3299) I haven't be able to reproduce it. > I'll look it more closely later. > OK, now it fails again. If DateDiff(Now, DateAdd(Date(Now), gb.Day,

Re: [Gambas-user] Elusive Gambas3 crashing bug

2010-11-17 Thread Jussi Lahtinen
> > But then I don't understand why "Finally" exist... > > At least that test function is equal without it. > > Is there proper usage for it, or is it for historical etc reasons? > > > > Finally exists so that you can have some code that is always executed at > the > end of the function, even if th

Re: [Gambas-user] About help and arrays and variables

2010-11-17 Thread Demosthenes Koptsis
Can someone explain embedded arrays further? i understand nothing. i know what a normal array is and that it can be static or dynamic. But "embedded arrays are just a way to access a part of a Gambas object" for example i have a TextBox1 how can i use an embedded array on it? You mean do use t

Re: [Gambas-user] ARM hardware

2010-11-17 Thread Benoît Minisini
> Hi Benoit, > > No question or bugreport this time... Ow. It's a pity. :-) > > Just a mail to tell you that some users of my project managed to install > and run Gambas (and DomotiGa) on small ARM computers like the > BeagleBoard and the SheevaPlug computer. > > See here for more info. > http

Re: [Gambas-user] Result object

2010-11-17 Thread Fabien Bodard
hResult = db.Create("mytable") for i = 0 to 10 hResult["name"]="toto " & i hResult!Firstname = "titi " & i hResult.Update next 2010/11/17 Fabien Bodard : > no just create one time... and then ... just call update between each entry > > > > 2010/11/17 tobias : >> Benoît Minisini schrieb:

Re: [Gambas-user] Result object

2010-11-17 Thread Fabien Bodard
no just create one time... and then ... just call update between each entry 2010/11/17 tobias : > Benoît Minisini schrieb: >>> Charlie Reinl schrieb: Am Dienstag, den 16.11.2010, 21:44 +0100 schrieb tobias: > Charlie Reinl schrieb: >> Am Montag, den 15.11.2010, 19:56 +0100 schrieb t

Re: [Gambas-user] Result object

2010-11-17 Thread tobias
Benoît Minisini schrieb: >> Charlie Reinl schrieb: >>> Am Dienstag, den 16.11.2010, 21:44 +0100 schrieb tobias: Charlie Reinl schrieb: > Am Montag, den 15.11.2010, 19:56 +0100 schrieb tobias: >> hi, >> i have again another question about the result object... >> when i do: >

Re: [Gambas-user] Result object

2010-11-17 Thread Benoît Minisini
> Charlie Reinl schrieb: > > Am Dienstag, den 16.11.2010, 21:44 +0100 schrieb tobias: > >> Charlie Reinl schrieb: > >>> Am Montag, den 15.11.2010, 19:56 +0100 schrieb tobias: > hi, > i have again another question about the result object... > when i do: > hResult = hConnection.Ed

Re: [Gambas-user] Result object

2010-11-17 Thread tobias
Charlie Reinl schrieb: > Am Dienstag, den 16.11.2010, 21:44 +0100 schrieb tobias: >> Charlie Reinl schrieb: >>> Am Montag, den 15.11.2010, 19:56 +0100 schrieb tobias: hi, i have again another question about the result object... when i do: hResult = hConnection.Edit("table")

Re: [Gambas-user] Result object

2010-11-17 Thread tobias
Charlie Reinl schrieb: > Am Dienstag, den 16.11.2010, 21:44 +0100 schrieb tobias: >> Charlie Reinl schrieb: >>> Am Montag, den 15.11.2010, 19:56 +0100 schrieb tobias: hi, i have again another question about the result object... when i do: hResult = hConnection.Edit("table")

Re: [Gambas-user] About help and arrays and variables

2010-11-17 Thread Benoît Minisini
> in http://gambasdoc.org/help/lang/arraydecl?show > > the syntax for Embedded arrays is > > [ STATIC ] { PUBLIC | PRIVATE } Identifier [ Array dimensions ... ] AS > Native Datatype > > but i could use also the NEW keyword > > For example > > PUBLIC aNames AS NEW String[2, 2] That is a differ

[Gambas-user] About help and arrays and variables

2010-11-17 Thread Demosthenes Koptsis
in http://gambasdoc.org/help/lang/arraydecl?show the syntax for Embedded arrays is [ STATIC ] { PUBLIC | PRIVATE } Identifier [ Array dimensions ... ] AS Native Datatype but i could use also the NEW keyword For example PUBLIC aNames AS NEW String[2, 2] This description for the use of NEW is i

Re: [Gambas-user] gambas3 IDE bug

2010-11-17 Thread Ricardo Díaz Martín
Now works fine. Thanks Benoit 2010/11/17 Benoît Minisini > > Hi, > > > > I have updated today to version 3296 and I got this bug in the IDE. > > > > Attach a project example to reproduce. Open the project in gambas3, go to > > Form_Open() sub and write: > > > > me.fF > > > > Then you got the er

[Gambas-user] About help and arrays and variables

2010-11-17 Thread Demosthenes Koptsis
Hi again, i am writing my book and now i am in the section about arrays. i see that in help wiki the pages about arrays are mixed up with variables subject. This is not well readable and understood. I feel that the arrays try to be described in a general way like variables. For example 1) in

Re: [Gambas-user] gambas3 IDE bug

2010-11-17 Thread Benoît Minisini
> Hi, > > I have updated today to version 3296 and I got this bug in the IDE. > > Attach a project example to reproduce. Open the project in gambas3, go to > Form_Open() sub and write: > > me.fF > > Then you got the error. > > Regards, It should be fixed in revision #3297. Regards, -- Beno

[Gambas-user] About array Initialization

2010-11-17 Thread Demosthenes Koptsis
Good morning to all! we can do an array initialization such as DIM aNumbers AS Integer[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] but not DIM aNumbers AS Integer[10] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] why is that? -- Regards, Demosthenes Koptsis. -

Re: [Gambas-user] WAIT command questions.

2010-11-17 Thread Demosthenes Koptsis
On Wed, 2010-11-17 at 00:03 +0100, Benoît Minisini wrote: > > In manual for WAIT, it is said that > > > > If Delay is not specified, the functions processes every events and > > returns immediately. In this case, keyboard and mouse events are > > ignored. > > > > i dont understand this. > > > >