Search found 187 matches

by grayghost4
Friday 10th December 2021 5:26pm
Forum: General
Topic: Procedure Folding
Replies: 9
Views: 4471

Re: Procedure Folding

Could it because using gtk vs. QT

I am using gtk


[img]file:///home/mhc/Pictures/Screenshot%20from%202021-12-10%2011-23-31.png[/img]
by grayghost4
Friday 10th December 2021 3:37pm
Forum: General
Topic: Procedure Folding
Replies: 9
Views: 4471

Re: Procedure Folding

That works ... thanks

That makes the program seem much more manageable :lol:
by grayghost4
Friday 10th December 2021 1:57pm
Forum: General
Topic: Procedure Folding
Replies: 9
Views: 4471

Procedure Folding

Procedure Folding is a great way to temporarily hide clutter in your editor. First of all go to menu Tools > Preferences > Editor and ensure that Procedure Folding is enabled. In the code Editor, click on the minus (-) to the left of the procedure to fold it. All text in the procedure will now be h...
by grayghost4
Monday 6th December 2021 3:43pm
Forum: General
Topic: inputbox width
Replies: 6
Views: 3163

Re: inputbox width

I have found there are other differances between QT and GTK, screen display is just one another is printing, one uses 72 dpi the other uses 300 dpi. I guess it depends on the distro and desktop you use which is best for you. Since I use Ubuntu and Gnome, GTK is best for me. There are just too many c...
by grayghost4
Tuesday 23rd November 2021 4:58pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 7726

Re: Works in IDE; not when made as an executable

Here are some sources of information about Gambas : https://gambaswiki.org/wiki https://wordpress.gambas.one/2019/08/17/programming-gambas-from-zip/ this is the best book that I have found for gambas : https://www.barnesandnoble.com/w/beginners-guide-to-gambas-revised-edition-john-rittinghouse/11123...
by grayghost4
Tuesday 23rd November 2021 1:11pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 7726

Re: Works in IDE; not when made as an executable

You forgot to: Dim sText as string Or you could just use Result100. The variable name is not important (I think it is just Bruce's naming convention) starting a variable name with " i, s, f, sa, ...... " to indicate what the variable is. https://en.wikipedia.org/wiki/Hungarian_notation 3.1...
by grayghost4
Monday 22nd November 2021 5:11pm
Forum: General
Topic: XOR truth table in help browser file
Replies: 3
Views: 2144

Re: XOR truth table in help browser file

Thank You for correcting it ... so someone else is not confused :P
by grayghost4
Sunday 21st November 2021 1:25pm
Forum: General
Topic: XOR truth table in help browser file
Replies: 3
Views: 2144

XOR truth table in help browser file

Take a look at the XOR help and see if anyone else see a error ?

The top table has an error ... the bottom one is correct and examples seem to be correct.

OR maybe I do not understand XOR :D

https://gambaswiki.org/wiki/lang/xor
by grayghost4
Wednesday 1st September 2021 10:30pm
Forum: General
Topic: [Solved] Convert BASIC to Gambas
Replies: 10
Views: 5727

Re: Convert BASIC to Gambas

I use this to eliminate what I do not want for a keypress:
If Not IsDigit(Key.Text) And Key.Code <> Key.BackSpace And Key.Code <> Key.BackTab And Key.tab <> Key.code And Key.code <> Key.Left And Key.code <> Key.Right Then Stop Event
by grayghost4
Wednesday 11th August 2021 1:31am
Forum: General
Topic: Sin Cos
Replies: 4
Views: 3084

Re: Sin Cos

looks correct to me

rad(90) is equal to 1/2 of pi = 3.14/2 = 1.5707

a = 1.5707 not 90 deg.

the rest is simple math.

what is it you are trying to do?