Thread: gambas trouble
hi!
new gambas..i using ver 2.7 , using beginner's guide manual..following instructions, tried running sample program cannot view output on console screen/window..what should do? please help.
lot..
hi,
don't know mean 'on console'.
start new project , name it. double click on fmain in project window on left display form. drag button (the picture says 'ok') toolbox (bottom right) onto form. double click on button1 display fmain.class , type 'print "hello world"' (without single parentheses) directly under public sub button1_click().
run program clicking right arrow in icon bar (or debug, run menu) , click button. see hello world in console. if compile program , run standalone not see console.
could, example, add label form. click on fmain.form display form again. drag label (shows 'a' in toolbox) toolbox form. have default name label1. under 'print "hello world"' line add 'label1.text="hello world"' (without single parentheses) , run program again. click on button.
way: console example supplied gambas uses textarea simulate console within gui hope have shown how going.
if using ebook john rittinghouse, bear in mind written gambas 1.0 , quite out of date. google search should give more date tutorials.
rgds
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [kde] gambas trouble
Ubuntu
Comments
Post a Comment