Search found 1771 matches

by SARG
Dec 27, 2023 14:16
Forum: Beginners
Topic: About paths in FBEdit
Replies: 12
Views: 890

Re: About paths in FBEdit

New version of help file is on the page of the new version of fbc where you found the compiler, but direct link : https://downloads.sourceforge.net/fbc/FB-manual-1.10.1-chm.zip?download The chw file is created the first time you use the help. And don't forget to authorize it (see properties) otherwi...
by SARG
Dec 26, 2023 10:55
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 273344

Re: GUI library for Windows \ Linux (window9)

Not sure it fixes the issue but try to uncomment the line below in window9.bi '#Define UNICODE As there are these codes after #ifdef UNICODE #Include Once "extwstring.bi" type USTRING as extWstring #else type USTRING as string #EndIf Declare Function OpenWindow(ByRef sName As USTRING, _
by SARG
Dec 17, 2023 17:54
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 273344

Re: GUI library for Windows \ Linux (window9)

Just because for a boolean true (<>0 or <>false) the provided value is -1 so the value of tempbit is in fact -1 not 1. Not a good idea to use boolean like this :-) excerpt of doc : - Therefore when assigning a boolean with an integer value (by implicit conversion and not with the False or True value...
by SARG
Dec 12, 2023 20:15
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 26091

Re: Freebasic 1.20.0 Development

Sorry found nothing that can explain the difference and same for the crash. :-(

Code: Select all

screen 18

dim as any ptr pImage = Imagecreate(1080, 960, 0, 32)
dim as double x=-89500000,y=500,x2=-5000100,y2=96 ''tested with different values

line pimage,(x,y)-(x2,y2)

print "end"
sleep
by SARG
Dec 12, 2023 9:31
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 26091

Re: Freebasic 1.20.0 Development

The crash seems to be related to this line as commented no crash :

Code: Select all

If i < 15 Then Line pImage2, (pxo, pyo) - (x, y), &h88000000

Just before the crash the values are :
px=991.82
py=5.53
x=40856.38
y=-911896.01

Are you sure about the used code ?
Could you post the original one.
by SARG
Nov 27, 2023 8:09
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 270
Views: 26091

Re: Freebasic 1.20.0 Development

fbfans wrote: Nov 27, 2023 0:50 https://users.freebasic-portal.de/stw/builds/
Error: Last modified 2023-11-20
Aborting due to runtime error 3 (file I/O error) at line 66 of src\compiler\lex.bas()
It has been fixed in the last commits (2023/11/26).
by SARG
Nov 25, 2023 16:41
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 639
Views: 177470

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

@St_W
The gcc tools in daily build are a bit out dated.
In fbc 1.10 --> 2.34
In daily build --> 2.24

It causes some problem eg https://freebasic.net/forum/viewtopic.p ... 42#p301242
by SARG
Nov 22, 2023 20:24
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 81
Views: 21663

Re: MyFbFramework - My FreeBasic Framework

No problem here with gas64 (my own version, the very last changes after 2023/11/7 not included). Is it from daily build version (St_W) ? Yes, from daily build version (St_W). I remember that I recently tested the gas64 you sent, everything was fine. Yes a change previously made in the compiler but ...
by SARG
Nov 22, 2023 14:05
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 81
Views: 21663

Re: MyFbFramework - My FreeBasic Framework

No problem here with gas64 (my own version, the very last changes after 2023/11/7 not included). Is it from daily build version (St_W) ? D:\telechargements\temp\xusinboy\src>D:\compiler108\freebasic64bit\fbc64_gas64.exe "D:\telechargements\temp\xusinboy\src\VisualFBEditor.bas" "Visual...
by SARG
Nov 17, 2023 15:12
Forum: General
Topic: Issue with big macros in included files [fixed]
Replies: 22
Views: 2526

Re: Jeff's request to fxm (issue reported on Discord)

Here it's just to increase the size of the file. It could be anything else eg many of commented lines
As files/macros are nested a size limit should be reached causing the problem.

Edit : Sorry I was testing and I didn't see your post :-)
by SARG
Nov 16, 2023 23:03
Forum: General
Topic: Issue with big macros in included files [fixed]
Replies: 22
Views: 2526

Issue with big macros in included files [fixed]

Requested by Jeff "If you or anyone can manage to get fxm (on fb.net forum) interested in the issue or bug, he's great for doing a deep dive in to assessing current state and enumerating multiple issues at a time. So typically results in multiple improvements with same amount of effort on my pa...
by SARG
Nov 14, 2023 9:20
Forum: Linux
Topic: FreeBASIC broken following OS upgrade; generates problematic .asm files...?
Replies: 21
Views: 2232

Re: FreeBASIC broken following OS upgrade; generates problematic .asm files...?

Hi,
Unlike fbc32bit with fbc64bit the default backend is, at least for now, gcc not gas64.
Whatever the case show your code or a snippet causing the issue, the easiest to help you
by SARG
Nov 11, 2023 9:28
Forum: General
Topic: I need a workaround for a DIR problem
Replies: 12
Views: 2674

Re: I need a workaround for a DIR problem

If the original names don't matter you can use this bat file to rename all the files. Change the extension and give the name you want. Eventually remove 'pause' in the loop. In my example all the txt files are renamed in WLG<count>.wlg SETLOCAL EnableDelayedExpansion SET /A count=1 for %%F in (*.txt...
by SARG
Nov 08, 2023 8:04
Forum: Beginners
Topic: Variable Array as member of a class
Replies: 5
Views: 2510

Re: Variable Array as member of a class

Not sure it solves but try adding any.

Code: Select all

as SomeThing abc(any)