Search found 18 matches

by tincho
Wednesday 18th November 2020 12:04am
Forum: Project showcase
Topic: A project managing project
Replies: 7
Views: 1858

Re: A project managing project

Hi Bruce.
Interesting this project. A few months ago I did something similar [1] but I left it for lack of time and also uses texteditor.
Download your code hoping to have some time and take a look.
Greetings.
[1] https://forum.gambas.one/viewtopic.php?f=4&t=852
by tincho
Tuesday 17th November 2020 11:22pm
Forum: General
Topic: Did you know?
Replies: 74
Views: 36995

Re: Did you know?

cogier wrote:
Tuesday 26th June 2018 3:02pm
Did you know you can easily move a line, or multiple lines, of code up or down in the editor. Just place the cursor on the line, or highlight the lines, you want to move and press [Alt]+[Up Arrow] (or [Down Arrow]). 8-)
I didn't know either, I'm liking this section more and more !!
by tincho
Tuesday 17th November 2020 11:12pm
Forum: General
Topic: Did you know?
Replies: 74
Views: 36995

Re: Did you know?

You can shorten the line: - If String.Comp(sTemp1, sTemp2, gb.IgnoreCase) = 0 Then Print "yes" Else Print "No" To: - If Comp(sTemp1, sTemp2, 1) Then Print "No" Else Print "yes" Unless you particularly wanted to compare two UTF-8 strings or this If sTemp1 Like sTemp2 Then Print "Yes" Else Print "No"
by tincho
Tuesday 17th November 2020 11:08pm
Forum: General
Topic: Did you know?
Replies: 74
Views: 36995

Re: Did you know?

I have found another little gem I thought I would pass on (even though you know it already!) Open preferences [Ctrl]+[Alt]+P and switch on Local variable automatic declaration then in your empty 'Sub' type iCount = 6 and hey presto a Dim iCount as Integer automatically appears! This if i knew it. :D
by tincho
Tuesday 17th November 2020 11:02pm
Forum: General
Topic: Did you know?
Replies: 74
Views: 36995

Re: Did you know?

cogier wrote:
Saturday 04th February 2017 3:13pm
I have discovered another short cut I didn't know about.
If you hold down the [Ctrl] key and click on a Gambas reserved word (e.g. Public, New, For, etc) the relevant help page is displayed.
But you all knew that didn't you?
great, i didn't know ... until now
Regards
by tincho
Tuesday 17th November 2020 10:53pm
Forum: General
Topic: Decode Bit-coded
Replies: 3
Views: 583

Re: Decode Bit-coded

Yes !!! exactly.
Before see your code i made this with the help of tercoide.
Public Function DWGFlag(iFlag As Integer, iPos As Integer) As Byte
  Dim t As String
  Dim b As Byte
  t = Bin(iFlag, 8)
  b = CByte(Mid(t, 9 - iPos, 1))
  Return b
End
Regards.
Martin.
by tincho
Friday 13th November 2020 12:27pm
Forum: General
Topic: Decode Bit-coded
Replies: 3
Views: 583

Decode Bit-coded

Hello everyone. I have a collection of numbers that according to the manual of the file I am trying to decode are bit-coded they should be 1, 2, 4, 16, 32, 64 but I get from the file: 1008, 992, 1017. How do I decode the numbers in the second group to make them look like something in the first? See ...
by tincho
Monday 02nd November 2020 4:04pm
Forum: Lounge
Topic: Add some links to resources section
Replies: 2
Views: 1097

Re: Add some links to resources section

Hi,
Thanks for including the links.
I have not entered the forum for a few months, so I just saw this message.
Regards.
by tincho
Sunday 02nd August 2020 1:36pm
Forum: Lounge
Topic: Add some links to resources section
Replies: 2
Views: 1097

Add some links to resources section

Hi, I want to add some links to the resources section, but trying to login has not worked. How do you get access to leave a comment? Anyway here are the links. Spanish sites Gambas spannish comunity forum. https://gambas-es.org Gambas spannish comunity old forum (read only). https://foro.gambas-es.o...