Search found 1760 matches

by SARG
Apr 14, 2024 7:25
Forum: General
Topic: program not able to read data with get() in git local repository
Replies: 1
Views: 142

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: 268
Views: 24037

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: 268
Views: 24037

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: 174961

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: 268
Views: 24037

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: 268
Views: 24037

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
by SARG
Mar 29, 2024 9:31
Forum: Beginners
Topic: array initialization
Replies: 8
Views: 321

Re: array initialization

Good find. I didn'tt think about string * N ;-)
by SARG
Mar 28, 2024 9:02
Forum: Beginners
Topic: array initialization
Replies: 8
Views: 321

Re: array initialization

- Not sure you can use const with array. - Use the array as parameter : dim fruitname(0 to 2) as string => {"apple", "orange", "banana"} sub s1(fruitname2() as string) ? fruitname2(0) '''No,failed:Variable not declared,furitname in 'fruitname(0)' ? fruitname2(1) '''No,f...
by SARG
Mar 23, 2024 10:56
Forum: Documentation
Topic: SmartPointer_UDTname_ segmentation violation
Replies: 10
Views: 395

Re: SmartPointer_UDTname_ segmentation violation

Maybe this change : https://github.com/freebasic/fbc/commit/8376250cd7dad11d90cd70bae87b99a66ea84827 There is this call just before printinfo : call _ZN17SMARTPOINTER_ROOTcvP4ROOTEv Returned value is used as parameter. A cast : Operator SmartPointer_##_UDTname_.Cast () As _UDTname_ Ptr Return This.p...
by SARG
Mar 19, 2024 10:56
Forum: Community Discussion
Topic: Bugs
Replies: 115
Views: 20946

Re: Bugs

First call address of P Second call address of g sub test(byref s as integer ptr) print __function__,s dim as integer k s=@k end sub dim as integer g=2024 dim as integer ptr p=@g print " Original pointer value "; p,g test(p) print "Pointer value after sub "; p,g p=@g print "...
by SARG
Mar 17, 2024 15:57
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 18
Views: 710

Re: How to color text created by CreateWindowExa

I can help you for richtextbox. I used it in a previous version of fbdebugger to display the code source of debugged programs. Now it's Scintilla component, easier and multi OS. Yes, please use the code I posted above to add the necessary statements using richtextbox to make the two lines have diff...
by SARG
Mar 16, 2024 16:45
Forum: Windows
Topic: Gui calculator
Replies: 17
Views: 854

Re: Gui calculator

- GetDlgItemText expects a string ptr. And same for SetDlgItemText - You should also add a cast in createwindow to avoid warnings. eg cast(HMENU, IDC_NUM1) - I added a 'case else' for select operation : default addition otherwise result zero ' Freebasic test code, 16-03-2024 ' calculator gui #includ...
by SARG
Mar 15, 2024 22:10
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 18
Views: 710

Re: How to color text created by CreateWindowExa

I can help you for richtextbox. I used it in a previous version of fbdebugger to display the code source of debugged programs.
Now it's Scintilla component, easier and multi OS.
by SARG
Mar 15, 2024 20:11
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 18
Views: 710

Re: How to color text created by CreateWindowExa

I should have looked at your code more carefully.
I interpreted a text of 2 lines and in fact it's 2 texts of one line :lol:
by SARG
Mar 15, 2024 13:00
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 18
Views: 710

Re: How to color text created by CreateWindowExa

As I wrote use richtextbox control. With that you can define font/size/color for each line.