Search found 168 matches

by thatbruce
Wednesday 17th January 2024 10:53am
Forum: Beginners
Topic: Where to place design documentation in project heirarchy?
Replies: 6
Views: 2181

Re: Where to place design documentation in project heirarchy?

Aw man! I've been using .hidden for centuries now for documentation and a lot of other junk as well. AFAIK, apart from the controls matter, all it means is that the content doesn't get included in the executable archive. Which is really handy if one uses, say, a UML tool that creates ginormous "...
by thatbruce
Friday 12th January 2024 9:03am
Forum: Beginners
Topic: TheUnexplained
Replies: 7
Views: 2602

Re: TheUnexplained

Just for improvements sake: Dim maxtries as Integer=100 Dim tries as Integer myip="" While Not myip If tries>maxtries then error.raise("No connection") ' or whatever is suitable break ' if you dont raise an error endif Inc tries Wait 0.25 ' I thought 1 second was a bit pessimisti...
by thatbruce
Tuesday 9th January 2024 10:30am
Forum: Beginners
Topic: How to check if two files are identical
Replies: 4
Views: 1778

Re: How to check if two files are identical

The quick answer is to shell out to the standard "diff" utility, using the "-s" option. This save you having to load the files. (More later, I'm a bit tired)
b
by thatbruce
Thursday 4th January 2024 9:58pm
Forum: General
Topic: UDP IP setup
Replies: 6
Views: 1816

Re: UDP IP setup

Just as a test, try chopping the data instead of using mid

Dim tmp as String
$TXDataRY = Left$($VidData, 2880)
tmp = Left$($VidData,-2880)
$TXDataBY=Left$(tmp,2880)

Print "-" & $TXDataBY & "+"

b
by thatbruce
Thursday 4th January 2024 9:46am
Forum: Beginners
Topic: Gambas3 Code Layout
Replies: 4
Views: 1979

Re: Gambas3 Code Layout

Have you got the line wrap option set off in the ide?
by thatbruce
Thursday 28th December 2023 8:48am
Forum: General
Topic: Access Denied when launching a Shell file
Replies: 6
Views: 1416

Re: Access Denied when launching a Shell file

What happens if you run that exact string in a terminal?
by thatbruce
Tuesday 19th December 2023 8:30am
Forum: General
Topic: Cool idea for object New initialization defaults
Replies: 1
Views: 12200

Re: Cool idea for object New initialization defaults

I think I like this. What happens if you give it a property that does not exist? hExt = New ExternalTool(["SaveAfter": True, "CopyToClipboard": True, "Mode": ExternalTool.Insert]) The way I have always done this type of thing is via a static "Create" method. i...
by thatbruce
Monday 11th December 2023 5:04am
Forum: General
Topic: How to access this C function defined in an external library
Replies: 7
Views: 11748

Re: How to access this C function defined in an external library

Even with that I fail to see how anything "inside" the executable archive could be "executed"?
by thatbruce
Friday 1st December 2023 7:46am
Forum: General
Topic: A "search" control
Replies: 1
Views: 9579

A "search" control

I have started to build a new control to let me do searches into a database but I have come up with a few general questions. The main idea is to make searching for text as easy as possible (simple?). I am looking for both ideas and knowledge here. 1) What, in your experience, is the best example of ...
by thatbruce
Monday 27th November 2023 7:51am
Forum: The Gambas IDE
Topic: Gambas -> USB -> DragonRise USB Joystick -> Use
Replies: 7
Views: 13434

Re: Gambas -> USB -> DragonRise USB Joystick -> Use

Well I suppose the first thing is, given you have an "input" device, then what does it do (aka what does it input)? If you press, move or click it or turn it upside down or ... It's hard to tell but the xorg stuff may give some info on the device when things happen. I don't really know, th...