[Gambas-user] program return error value 1

roberto.premoli at tiscali.it roberto.premoli at tiscali.it
Tue Oct 24 15:35:31 CEST 2023


  
Hello all 
igot a new conputer with he follow: 
distro: devuan 5.0
"Dedalus" (the current stable) 
linux: Linux AM 6.1.0-13-amd64 #1 SMP
PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux 
gambas:
3.18.0 
I create FROM ZERO (i choose QT) a demo program. 
How the
programm works: 
there are one label and 2 buttons: 
 press button 1 =>
label1.text = "hello word" 
 press button 2 => label1.text = "happy
birtday" 
no more, very easy demo program 
When I try to run it, it
return "error 1" and it does not run. 
I tried also "compile" and
"compile all" berore run, no success. 
Really I dont know what i did
wrong: i change nothing in configuration, i change nothing in Fmain
attributes, the only bold attribute are height and width (both = 448).

I only created label, 2 buttons an place code into button as follow:

Public Sub Button1_Click()
 Label1.Text = "hello world!"
End

Public
Sub Button2_Click()
 Label1.Text = "happy birtday!"
End

I attached here
the demo program if someone want to investigate and find my error.

Thanks, 
 Roberto   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231024/e02d0337/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pippo.7z
Type: application/x-7z-compressed
Size: 12740 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231024/e02d0337/attachment-0001.7z>


More information about the User mailing list