Search found 8 matches

by Doctor Watson
Tuesday 09th April 2019 12:16pm
Forum: General
Topic: Using GOSUB
Replies: 4
Views: 501

Re: Using GOSUB

Quod erat demonstrandum.
Let's see if I can put it to use.
Thanks Cedron
by Doctor Watson
Tuesday 09th April 2019 11:40am
Forum: General
Topic: Using GOSUB
Replies: 4
Views: 501

Using GOSUB

I would lke to include some 'subroutines' using GOSUB but can't get it to work. I searched all of Gambas documentation (Wikis, ...) but nothing I find there works. So here is the most simple code that works in most other Basics, but doesn’t in Gambas: ------------------------------------------------...
by Doctor Watson
Tuesday 09th April 2019 11:06am
Forum: General
Topic: Public Variable Declaration
Replies: 4
Views: 473

Re: Public Variable Declaration

Sorry for late reply. I was out of the country for afew days.
Thanks all, I'll see what I can do with it.
by Doctor Watson
Friday 05th April 2019 9:43am
Forum: General
Topic: Public Variable Declaration
Replies: 4
Views: 473

Public Variable Declaration

Hi. As I use a lot of For / Next loops in my program, I thought of using the same variables in each Sub, so I wanted to declare them as Public like I was used to in RealBasic. However, that seems not possible in Gambas. If I put f.e. : ' Gambas class file Public x As Integer ------------------------...
by Doctor Watson
Wednesday 03rd April 2019 7:53am
Forum: General
Topic: Declaring Arrays
Replies: 2
Views: 356

Re: Declaring Arrays

I think I'm getting there ... ;)
It will take some time as I did some programming - many years ago - in RealBasic. Gambas feels like it, but it's obviously not quite the same.
Old African proverb says: "One eats an elephant one little bit at a time"
Thanks
by Doctor Watson
Tuesday 02nd April 2019 12:38pm
Forum: General
Topic: Declaring Arrays
Replies: 2
Views: 356

Declaring Arrays

Some beginners enigma :? I can’t find how and where to declare Arrays. I think this should be done in the Project’s first form : Fmain When I try to run for example in Fmain.Class : Public Sub Form_Open() Dim A[50] AS String End I get : “Embedded arrays are forbidden here in Fmain.Class” And I get t...
by Doctor Watson
Thursday 23rd August 2018 6:45am
Forum: General
Topic: Gridline colours
Replies: 2
Views: 692

Re: Gridline colours

Thanks Vuott.
That's exactly what I'm looking for.
by Doctor Watson
Wednesday 22nd August 2018 9:07am
Forum: General
Topic: Gridline colours
Replies: 2
Views: 692

Gridline colours

Hi everyone. A small introduction : I recently kicked out Windows and changed to Linux Ubuntu. Some 10 years ago I did some programming – amateur, nothing professional – in Real Basic, but I gave up on it when they became Xojo and require you to pay a lot of money if you want to distribute your prog...