Search found 262 matches

by vuott
Monday 9th October 2023 12:50am
Forum: General
Topic: Combining String data
Replies: 8
Views: 4318

Re: Combining String data

vuott: - Your code works perfectly if line 22 ss.Remove(ss.Max, 1) is removed! The text file, which I load, is structured exactly like this: 5018374320766|1 50201600|2 99998|1 99999|2 5018374320766|2 50201600|1 5018374320766|5 99999|2 547892|9 99999|2 547892|5 If I do not enter the command line &qu...
by vuott
Sunday 8th October 2023 1:26pm
Forum: General
Topic: Post a screenshot
Replies: 18
Views: 19803

Re: Post a screenshot

Technopeasant wrote: Wednesday 4th October 2023 1:57am That would depend what exactly you are asking for. A guide for OpenGL rendering itself or how my level structure works?
Uhmmm... a guide for OpenGL rendering would already be a good start. ;)
by vuott
Saturday 7th October 2023 12:50am
Forum: General
Topic: Combining String data
Replies: 8
Views: 4318

Re: Combining String data

Maybe even with :? this code: 'Contents of file BCode.txt ' 5018374320766|1 ' 50201600|2 ' 99998|1 ' 99999|2 ' 5018374320766|2 ' 50201600|1 ' 5018374320766|5 ' 99999|2 ' 547892|9 ' 99999|2 ' 547892|5 Public Sub Main() Dim s As String = File.Load(Application.Path &/ "BCode.txt") Dim ss,...
by vuott
Wednesday 4th October 2023 6:15pm
Forum: Beginners
Topic: Export an old Gambas app to a new system
Replies: 4
Views: 3109

Re: Export an old Gambas app to a new system

I replaced the following Components: - "gb.qt4" with " gb.gui.qt " - "gb.sdl.sound" with " gb.sdl2.sound " - "gb.report" with " gb.report2 " When starting the project, I got no errors. (My distro: Linux Mint ) However, :? I didn't try every...
by vuott
Monday 2nd October 2023 5:08pm
Forum: General
Topic: [Solved] Sound advise
Replies: 20
Views: 8718

Re: Sound advise

...and by using a command line interface project (with gb.ncurses obviously) ?
Does it work ?
by vuott
Monday 2nd October 2023 4:58pm
Forum: General
Topic: Post a screenshot
Replies: 18
Views: 19803

Re: Post a screenshot

All very nice and interesting, but I would be awarding you "magna cum laude ", if you would write a tutorial to create those 3D graphic environments. :roll:
by vuott
Monday 2nd October 2023 4:45pm
Forum: General
Topic: [Solved] Sound advise
Replies: 20
Views: 8718

Re: Sound advise

AndyGable wrote: Monday 2nd October 2023 3:26pm ERROR: #63: '&1.&2' is incorrectly overridden in class '&3'|Screen|Height|Screen
You have to use "gb.ncurses" with a command line interface project (no graphics Components):
Public Sub Main()
by vuott
Monday 2nd October 2023 2:43pm
Forum: General
Topic: [Solved] Sound advise
Replies: 20
Views: 8718

Re: Sound advise

Uhmmm... some time ago, stevedee proposed using the "Screen" Class of "gb.ncurses" Component.
Try:
Public Sub Main()

  Screen.Beep()

End
by vuott
Monday 2nd October 2023 10:44am
Forum: General
Topic: [Solved] Sound advise
Replies: 20
Views: 8718

Re: Sound advise

...do not have any sound cards on them they only have the PC speaker. Have you tried the :? old ways... Print "\x07" and Shell "printf '\x07'" or this by using the external ioctl() function: Library "libc:6" Private Const KIOCSOUND As Integer = &4B2F ' int ioctl(in...
by vuott
Saturday 30th September 2023 11:26pm
Forum: General
Topic: [Solved] Sound advise
Replies: 20
Views: 8718

Re: Sound advise

......why not just use the resources of Gambas ? :roll: You need to activate gb.openal Component: Private Const AMPLITUDO As Integer = 127 Private Const FRECUENTIA As Integer = 880 Private Const DIGIT As Integer = 44100 Private Const TEMPUS As Single = 0.15 Public Sub Main() Dim disp As AlcDevice Di...