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

David Campillo dc at ...95...
Mon Apr 7 20:14:03 CEST 2003


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




More information about the User mailing list