Search found 771 matches

by Xusinboy Bekchanov
Dec 27, 2021 14:29
Forum: Documentation
Topic: Study of symbol lookups in namespaces and types
Replies: 93
Views: 22586

Re: Study of symbol lookups in namespaces and types

And then one day, we remove the #pragma, Is it impossible to leave him forever? The way the compiler works now, is that it looks at what kind of thing 'Left' is to know what it should expect to see next. The compiler doesn't look ahead to what other possibilities that 'Left' could be do it can't do...
by Xusinboy Bekchanov
Dec 27, 2021 4:34
Forum: Community Discussion
Topic: Objective FreeBASIC?
Replies: 27
Views: 2995

Re: Objective FreeBASIC?

PoseidonFB is not written in FB, but it's the only real IDE for FB IMO. Only it really parse the code to provide code completion rather the suggest completions by word based method like tags and keywords file. Other IDEs also parse code files. For example VisualFBEditor, VisualFreeBasic and others....
by Xusinboy Bekchanov
Dec 26, 2021 2:40
Forum: Community Discussion
Topic: Objective FreeBASIC?
Replies: 27
Views: 2995

Re: Objective FreeBASIC?

j8w344c6 wrote: PoseidonFB is not written in FB, but it's the only real IDE for FB IMO. Only it really parse the code to provide code completion rather the suggest completions by word based method like tags and keywords file.
Other IDEs also parse code files. For example VisualFBEditor, VisualFreeBasic and others.
by Xusinboy Bekchanov
Dec 25, 2021 19:14
Forum: Documentation
Topic: Study of symbol lookups in namespaces and types
Replies: 93
Views: 22586

Re: Study of symbol lookups in namespaces and types

I think that coding such a resolution process (the best from human intelligence) is cumbersome, because from the start having to take into account the complete signature of the called procedure (symbol name + type and number of parameters + calling convention + return type if it exists). In additio...
by Xusinboy Bekchanov
Dec 25, 2021 18:57
Forum: Documentation
Topic: Study of symbol lookups in namespaces and types
Replies: 93
Views: 22586

Re: Study of symbol lookups in namespaces and types

Next to consider is Xusinboy's other example. What rules make sense or where the bugs are. Is it consistent here with Namespaces described previously? Or everything has to be adjusted. Simplified: Enum E Left Right End Enum Type C Private: __ As Integer Public: Declare Property Left As Integer End ...
by Xusinboy Bekchanov
Dec 24, 2021 1:57
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 52265

Re: FreeBASIC 1.08.1 and 1.09.0 Development

It turns out that inside the Namespace doesn't work: Type Rect Left As Integer Top As Integer Right As Integer Bottom As Integer End Type Type Point X As Integer Y As Integer End Type Namespace gdiplus Type Rect X As Integer Y As Integer Width As Integer Height As Integer End Type Type Point X As In...
by Xusinboy Bekchanov
Dec 23, 2021 17:19
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 52265

Re: FreeBASIC 1.08.1 and 1.09.0 Development

Xusinboy Bekchanov wrote:

Code: Select all

	a = Right(a, 1) 'Now works with Windows, I need to check in Linux.
I also checked it in Linux, it works, so we can delete ..Right from the request. I removed the ".." in front of Right from my program.
by Xusinboy Bekchanov
Dec 23, 2021 16:13
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 52265

Re: FreeBASIC 1.08.1 and 1.09.0 Development

Yes. I wanted to create a simple example, but it worked: I will try to explain why it works. From your example I can see how I can modify so it "not works" in your actual usage. I would like it to be without the "..": @coderjeff, можно ли сделать Left, Right, Point, Rect основны...
by Xusinboy Bekchanov
Dec 23, 2021 3:17
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 52265

Re: FreeBASIC 1.08.1 and 1.09.0 Development

@coderjeff, is it possible to make Left, Right, Point, Rect the main, and the rest are secondary as before? I don't know. Can you make a *small* example that shows what you want to change? Could it be related to https://sourceforge.net/p/fbc/bugs/948/ ? Might be related to this? https://www.freebas...
by Xusinboy Bekchanov
Dec 22, 2021 8:21
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 52265

Re: FreeBASIC 1.08.1 and 1.09.0 Development

@coderjeff, is it possible to make Left, Right, Point, Rect the main, and the rest are secondary as before? Because we can access them through gdiplus.Rect, gdiplus.Point, This.Left, Keys.Left, Keys.Right. Looks better than ..Left, ..Right, ..Point, ..Rect.
by Xusinboy Bekchanov
Dec 21, 2021 14:21
Forum: Libraries Questions
Topic: Runtime location of a Function by name in a string
Replies: 48
Views: 9333

Re: Runtime location of a Function by name in a string

And it is normal that you do not know what is inside the dll, but when you call dll, does the dll call a randomly matching function or type from the main program?
by Xusinboy Bekchanov
Dec 21, 2021 12:58
Forum: Libraries Questions
Topic: Runtime location of a Function by name in a string
Replies: 48
Views: 9333

Re: Runtime location of a Function by name in a string

It's been years since I looked at this kind of stuff. Shared library loading on Windows versus Linux/Unix is architecturally different. I remember investigating the differences in fbc's run time library, for example with graphics functions and file handling functions. On Unix/Linux, loading a share...
by Xusinboy Bekchanov
Dec 19, 2021 6:58
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 886
Views: 129782

Re: VisualFBEditor - IDE for FreeBasic

j8w344c6 wrote: I hope you could fix it.
Fixed: Blinking of the close, maximize, minimize buttons of the form when the mouse over them in Windows 7:
https://github.com/XusinboyBekchanov/My ... 014c85e517
by Xusinboy Bekchanov
Dec 17, 2021 9:45
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 886
Views: 129782

Re: VisualFBEditor - IDE for FreeBasic

miilvyxg wrote:I have a feeling that this project has never been reached the stable state. Breaking changes are very often and if he fixes something then it breaks another things.
The release version is 1.2.9, and now there is an actively developed version in github. What errors are being detected now?
by Xusinboy Bekchanov
Dec 17, 2021 9:43
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 886
Views: 129782

Re: VisualFBEditor - IDE for FreeBasic

Confirm fixed. But there remains one bug. When you closed the IDE without saving the project, the dialog asked you if you really don't want to save it will not able to appear. You have to click somewhere near the top right corner of the window (might be many times) so it could appear and allowed yo...