Search found 251 matches

by cogier
Thursday 25th April 2019 12:08pm
Forum: General
Topic: gb.gui error after install
Replies: 1
Views: 11

Re: gb.gui error after install

What components are you using in your program? You will need to include these as well. What distro are you trying to install on?
by cogier
Wednesday 24th April 2019 4:07pm
Forum: General
Topic: Where is the Software Farm documentation?
Replies: 2
Views: 13

Re: Where is the Software Farm documentation?

Hi Cedron, Feel free to post your code here if you wish. There is a greater chance of you getting some feed back. I have had very little feed back from items I have posted on the Farm despite putting an email address in the programs. Make sure that it is clear to the prospective user what your progr...
by cogier
Wednesday 10th April 2019 10:55am
Forum: General
Topic: Using GOSUB
Replies: 4
Views: 153

Re: Using GOSUB

I find the trouble with GOSUB is that you can only use it in the subroutine your in. If you create another subroutine instead you can call it from any part of your program. Example: - Public Sub Form_Open() For iLoop As Integer = 33 To 126 Print GetAscii(iLoop) Next End Public Sub GetAscii(iValue As...
by cogier
Saturday 06th April 2019 11:39am
Forum: General
Topic: Public Variable Declaration
Replies: 4
Views: 118

Re: Public Variable Declaration

Following on from Stevedee's comments you can use this now. Just type: -

di [Tab]

You will get this ready for you to type a variable name
Dim iVar As Integer
by cogier
Thursday 04th April 2019 2:47pm
Forum: Component
Topic: Custom Control Icon
Replies: 2
Views: 89

Re: Custom Control Icon

Hi Bill, exactly what are you trying to do, I don't quite understand the question?
by cogier
Tuesday 02nd April 2019 1:43pm
Forum: General
Topic: Declaring Arrays
Replies: 2
Views: 93

Re: Declaring Arrays

Hi Doctor! Here is a start for you. This small program will run, it will find all the 'hidden' files in your Home folder: - ' Gambas class file iGlobalArray As New Integer[] 'Global array Public Sub Form_Open() Dim sZ As New String[50, 2] 'Creates a multi dimensional array Dim sB As New String[50] '...
by cogier
Saturday 30th March 2019 5:38pm
Forum: General
Topic: Did you know?
Replies: 35
Views: 5527

Re: Did you know?

Did you know that while in the Gambas IDE and editing your code, holding the shift key down and pressing 'Del' will delete the whole line?
by cogier
Tuesday 19th March 2019 12:55pm
Forum: General
Topic: Project name Title name, hidden files = confusing
Replies: 8
Views: 184

Re: Project name Title name, hidden files = confusing

Hi Rudy and Ced. Welcome The Project Name will become the folder you want your program to use. The Project Title is the name of your project. If you use a Project Name of 'FunTest' and a Project Title of "TestingThings' then you will find your program in the ../FunTest folder. Press [Ctrl]+P in the ...
by cogier
Sunday 17th March 2019 11:05am
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 171

Re: Useful Links Code

When did the array.Max turn up or has it always been there ? It's been around for some time, it is just the same as .Count -1 Continue jumps to Next, try this: - Public Sub Form_Open() For iCount As Integer = 1 To 10 If Odd(iCount) Then Continue Print iCount Next 'Result = 2, 4, 6, 8, 10 End The 'A...
by cogier
Saturday 16th March 2019 4:22pm
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 171

Re: Useful Links Code

Hi Quin,

Matt and I have looked at your code and made a few changes. Does this help?
Test1.tar.gz
(12.61 KiB) Downloaded 11 times