Search found 518 matches

by stevedee
Friday 5th May 2017 3:52pm
Forum: General
Topic: Did you know?
Replies: 91
Views: 411728

Re: Did you know?

Some of the undocumented stuff in Gambas is common to VB. For example; if you pause your program in the IDE (maybe as a result of hitting a break-point) you can double click on variables, and then tooltip-text will display the current value for a few seconds. You can do the same thing with expressio...
by stevedee
Friday 7th April 2017 11:03am
Forum: General
Topic: Gambas command-line programming
Replies: 4
Views: 7369

Re: Gambas command-line programming

jornmo wrote: Thursday 6th April 2017 7:37am ...or that you have to declare an event name...
Yes, it is having to declare an event name, in addition to the name declared and used for properties & methods.
by stevedee
Tuesday 4th April 2017 1:50pm
Forum: General
Topic: Gambas command-line programming
Replies: 4
Views: 7369

Re: Gambas command-line programming

I think VB6 had the best help system. Most pages included an example, along with a description of the method, property or whatever the subject was. (Whereas help on VB.Net seemed to just point to stuff on the internet, so you had to trawl through loads of linked pages to find anything helpful). Stab...
by stevedee
Monday 3rd April 2017 7:44am
Forum: General
Topic: Gambas command-line programming
Replies: 4
Views: 7369

Gambas command-line programming

I have been looking at Gambas command-line programming recently, as an alternative in situations where I would previously have used Python. Although Gambas is primarily presented to the world as a graphical/visual programming language, it has a lot to offer when programming on headless systems, such...
by stevedee
Wednesday 29th March 2017 7:09pm
Forum: General
Topic: Did you know?
Replies: 91
Views: 411728

Re: Did you know?

You can shorten the line... Hi cogier, you are right, it can be trimmed down a bit. But what I like about Gambas and VB is that code is easy to read if you don't take too many short-cuts. After all, if you like terse code, why not use Python, C or C++? For beginners and the non-fluent (like me) the...
by stevedee
Tuesday 28th March 2017 9:21pm
Forum: General
Topic: Did you know?
Replies: 91
Views: 411728

Re: Did you know?

cogier wrote: Tuesday 28th March 2017 4:41pm Here is another find - Try this one: -
If sTemp1 == sTemp2 Then Print "Yes" Else Print "No"

...or
    If String.Comp(sTemp1, sTemp2, gb.IgnoreCase) = 0 Then Print "yes" Else Print "No"
by stevedee
Tuesday 21st March 2017 2:10pm
Forum: General
Topic: Problem with Exec and ">"
Replies: 4
Views: 7665

Re: Problem with Exec and ">"

cogier wrote: Tuesday 21st March 2017 8:39am The redirect '>' is a terminal command. It can only be used with Shell...
Thanks cogier.

I should have gone through the documentation more carefully, as its mentioned here: http://gambaswiki.org/wiki/doc/shellexec
by stevedee
Monday 20th March 2017 6:16pm
Forum: General
Topic: Problem with Exec and ">"
Replies: 4
Views: 7665

Problem with Exec and ">"

I sometimes have problems with tricky Linux commands when using either the Gambas Exec or Shell commands. Its usually Shell that gives me a headache, but for this Linux command:- find "/home/pi/Music" -type f -iname "*.mp3" -o -iname "*.ogg" -o -iname "*.wma" ...