Search found 1769 matches

by SARG
May 11, 2024 10:34
Forum: General
Topic: [SOLVED] Get does not save current screen work page
Replies: 8
Views: 217

Re: Get does not save current screen work page

You get
Aborting due to runtime error 1 (illegal function call) at line 54
Try :

Code: Select all

get (0,0)-(breite-1, hoehe-1), menubild_statischer_teil 
by SARG
May 11, 2024 10:17
Forum: Sources, Examples, Tips and Tricks
Topic: Modifying SAPI Text-to-Speech using XML Mark-up
Replies: 4
Views: 115

Re: Modifying SAPI Text-to-Speech using XML Mark-up

Thanks, working fine.

To use with default dialect (fb)
comment line 3 -> DEFINT A-Z
and change key$ by key in SUB CheckForProgramClose()

On my french PC I get only 2 voices : Hortense (french girl) and Zira (US). Obvioulsly the texts should be adapted :D
by SARG
May 02, 2024 18:21
Forum: General
Topic: [FBC 1.10.1 BUG] Define concat and stringize
Replies: 4
Views: 296

Re: [FBC 1.10.1 BUG] Define concat and stringize

I know that Jeff is very busy this week.
So I guess he wanted to reply quickly to Jatenalle and post something later on the forum.
by SARG
May 02, 2024 15:22
Forum: General
Topic: [FBC 1.10.1 BUG] Define concat and stringize
Replies: 4
Views: 296

Re: [FBC 1.10.1 BUG] Define concat and stringize

Jeff replied directly to Jatenalle on Discord : Prepocessor Stringize # and Conatenate ## were only intended to work on macro parameters. This should throw an error, but does not: #define prefix foo #define param prefix#1 dim as integer param The # is being consumed as a suffix, but no error thrown....
by SARG
Apr 26, 2024 7:48
Forum: Beginners
Topic: Questionmark "?"
Replies: 4
Views: 310

Re: Questionmark "?"

Not sure to understand your question :-)
By the way, a string is not an array it's a special datatype.
Maybe this :

Code: Select all

sub qmark(args as string)
for i as integer  = 0 to len (args)-1
print chr(args[i]);
next
Print
end sub

qmark("hello") ' error
sleep
by SARG
Apr 22, 2024 12:28
Forum: Beginners
Topic: Count character
Replies: 10
Views: 476

Re: Count character

Faster using string[n], no need an intermediate string. Warning zero based. Dim As String my_string = "screen 13:color 15,3:cls:line(100,100)-(150,150),,bf :dim as integer a = 10 : b,c,d : ""hello freebasic how are you?"": Rgb rnd 100 255 100 sleep locate 10,20" ' Initi...
by SARG
Apr 18, 2024 19:22
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 13
Views: 1484

Re: Seeding PRNGs with the Time Stamp Counter

Ok so that's not really with rdtsc but with only its lower 32bits.
Maybe I'm too 'punctilious' :-)
by SARG
Apr 18, 2024 9:03
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 13
Views: 1484

Re: Seeding PRNGs with the Time Stamp Counter

deltarho[1859] wrote: With rdtsc we have 2^32 possible worlds.
Why 2^32 ? as 2 32bit registers are used (EDX:EAX). On 64bit RDX:RAX with upper 32 bits cleared.
by SARG
Apr 17, 2024 21:48
Forum: General
Topic: [solved] program not able to read data with get() in git local repository
Replies: 4
Views: 424

Re: program not able to read data with get() in git local repository

I changed bas extension to bin and still no problem to get data.
So that's weird.
by SARG
Apr 14, 2024 7:25
Forum: General
Topic: [solved] program not able to read data with get() in git local repository
Replies: 4
Views: 424

Re: program not able to read data with get() in git local repository

Did you solve the issue ?

I just tested on a local git (fbc), no problem opening a bas file and getting data from it.
by SARG
Apr 07, 2024 14:31
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 25975

Re: Freebasic 1.20.0 Development

fxm wrote: Apr 07, 2024 11:01 In the south perhaps?
No north (near Lille). Now the sun a little hazy.
by SARG
Apr 07, 2024 8:37
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 25975

Re: Freebasic 1.20.0 Development

@fxm as no daily build you can test with my own compilation (64bit only)

https://users.freebasic-portal.de/sarg/fb64.zip
https://users.freebasic-portal.de/sarg/fbc64.zip

Edit thank you fxm.
Doing thing too fast before homework in the garden under a nice sun :-)
by SARG
Apr 07, 2024 8:26
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 639
Views: 177240

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Unless I'm wrong no update since April 2.
by SARG
Apr 05, 2024 17:07
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 25975

Re: Freebasic 1.20.0 Development

My bad. I got the lastest changes but didn't apply them.......
So confirmed now.
by SARG
Apr 05, 2024 15:08
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 25975

Re: Freebasic 1.20.0 Development

Hello Xusinboy,
Compiled with gcc and gas64. No warning and no crash.


edited :
With last daily build 32bit --> warning and crash