Search found 1918 matches

by BruceSteers
Thursday 12th December 2024 3:05pm
Forum: General
Topic: Did you know?
Replies: 93
Views: 461285

Re: Did you know?

It will be when it's working properly. It's still under construction and not working well yet. Benoits message... On Wed, 11 Dec 2024 at 12:19, Benoît Minisini <benoit.minisini@gambas-basic.org> wrote: Hi, As you can see there: https://build.opensuse.org/package/show/home:gambas:gambas/gambas3 ArchL...
by BruceSteers
Wednesday 11th December 2024 7:58pm
Forum: General
Topic: Rapid populating of treeView controls
Replies: 3
Views: 133

Re: Rapid populating of treeView controls

hmm, for large entries with many children I would only populate the main parent items text and picture and then populate the children when the user clicks a parent item, that could speed up load time.
by BruceSteers
Wednesday 11th December 2024 5:21pm
Forum: The Gambas IDE
Topic: Can be installed on AlmaLinux 9.5
Replies: 4
Views: 233

Re: Can be installed on AlmaLinux 9.5

i couldn't get things running from a minimal install , i'm downloading the full dvd now. There did seem to be a lot of packages missing we need, maybe the full dvd will give me more options. if you like RHEL base then Fedora is well supported and would be a better choice. And as Cogier says wayland ...
by BruceSteers
Wednesday 11th December 2024 2:49pm
Forum: Beginners
Topic: write an array to file records / read file records into an array
Replies: 8
Views: 261

Re: write an array to file records / read file records into an array

you are welcome. btw File.Load does not require you Open and Close the file, it does it for you Dim sFilePath As String = User.Home &/ "some-path-to/trialfile" Dim hFile As File Dim ii As Integer Dim MyOwnArray As String[] = Split(File.Load(sFilePath), gb.NewLine, "", True) '...
by BruceSteers
Wednesday 11th December 2024 11:18am
Forum: Beginners
Topic: write an array to file records / read file records into an array
Replies: 8
Views: 261

Re: write an array to file records / read file records into an array

So, these questions arise: - Are text files suitable for every case? Well only for data that can be converted to a string - If not, what type of files is suitable for what job? (Saving an array, for instance.) - What is the right code to read the records back to the reciprocal array records? Like i ...
by BruceSteers
Wednesday 11th December 2024 10:55am
Forum: Beginners
Topic: write an array to file records / read file records into an array
Replies: 8
Views: 261

Re: write an array to file records / read file records into an array

Try Str() and Val() to save/load values other than String Print #hFile, Str(MyOwnArray[ii]) then read back with.... Read #stream, line MyOwnArray.Add(Val(line)) Then Boolean values should work as expected This code is wrong.. Dim stream As Stream Dim MyOwnArray As String[] = [] Dim line As String Tr...
by BruceSteers
Wednesday 11th December 2024 10:39am
Forum: The Gambas IDE
Topic: Can be installed on AlmaLinux 9.5
Replies: 4
Views: 233

Re: Can be installed on AlmaLinux 9.5

RHEL install info is pretty old , i do not think the Mageia info has been updated for some time. https://gambaswiki.org/wiki/install/mageia it probably wants updating. probably now is a good time to suggest adding RHEL to the list of supported distros as currently a new way of making repositories fo...
by BruceSteers
Wednesday 11th December 2024 10:21am
Forum: Beginners
Topic: write an array to file records / read file records into an array
Replies: 8
Views: 261

Re: write an array to file records / read file records into an array

Hello! How can I write an array into a file (and what type of appropriate file? csv perhaps?),... ...and then read back the file records into that array? An array of what? Maybe use Setting.class Dim aStrings as String[] = ["hi", "halo", "ola"] File.Save(sMyFileName, S...
by BruceSteers
Tuesday 10th December 2024 8:31pm
Forum: General
Topic: X11 Forwarding
Replies: 8
Views: 343

Re: X11 Forwarding

different systems can set up the main user differently. I remember one Debian version the main user has to be added to sudo group where as in others they are already added. going by your errors i would say a permissions problem that is okay on some, not okay on others. clearly not a bug in gambas th...
by BruceSteers
Tuesday 10th December 2024 8:24pm
Forum: Lounge
Topic: Wayland and desktop enviroments
Replies: 2
Views: 219

Re: Wayland and desktop enviroments

Mostly though i find gambas only7 has the following issues with wayland... Window position... Wayland has nothing to do with window positioning, it considers it part of the Compositors job. in wayland the compositor provides a sandboxed window space. in gambas the window it gets has no screen positi...