[Gambas-user] Fwd: Re: It seems to be a bug, but not sure...

Fabien Gambasfr at ...11...
Mon Apr 7 21:46:22 CEST 2003


----------  Message transmis  ----------

Subject: Re: It seems to be a bug, but not sure...
Date: Mon, 7 Apr 2003 21:29:39 +0200
From: Fabien <Gambasfr at ...11...>
To: David Campillo <dc at ...95...>

Le Lundi 7 Avril 2003 20:14, vous avez écrit :
> Hi everybody,
>
> Someone could try this...
>
> Create an empty project
> Create a form with the name frmMain
> Put a button on it with the default name
> Put this code in the class of the frmMain form
>
> ' Gambas class file
>
>
> STATIC PUBLIC SUB Main()
>   DIM hForm AS NEW frmMain
>   hForm.show
> END
>
> PUBLIC SUB Button1_Click()
>
>   DIM lReturn AS Long
>
>   Message("Hello world","Ok")
>
> END
>
> On my machine, if lReturn is declared as long, the prog stop immediatly, if
> it is integer or float, the message appear...
>
> Thanks for a feedback about it....
>
> David

Salut David

The type 'long' does'nt exist in gambas use integer!!!

Have a look to the help Encyclopédia...

fabien

-------------------------------------------------------





More information about the User mailing list