Search found 57 matches

by Carlos Herrera
Oct 19, 2018 15:00
Forum: Community Discussion
Topic: [offtopic] FreePascal
Replies: 54
Views: 1218

Re: [offtopic] FreePascal

...The the 32-bit compiler also uses SSE, and the results are in the same magnitude as 64-bit. Speed is one factor, another is accuracy. Please consider the following program (*-----------------------------------------------------------------------*) (* EPSMACH computes the machine accuracy u (1.0+...
by Carlos Herrera
Oct 11, 2018 21:39
Forum: Community Discussion
Topic: [offtopic] FreePascal
Replies: 54
Views: 1218

Re: [offtopic] FreePascal

@marcov
I am in the process of migrating from fbc to fpc. I hope that Free Pascal is as fast as Free Basic.
Is it also a kind of gcc emitter?
Carlos
by Carlos Herrera
Sep 06, 2018 7:38
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 7, 2018)
Replies: 443
Views: 37253

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

PaulSquires wrote:Please let me know .... if there is anything else that should be included in the package.

Please consider the pre-compiled versions of FBMath library by Jean Debord. If author agrees, of course.
Carlos
by Carlos Herrera
Aug 22, 2018 15:05
Forum: Windows
Topic: Problem with Draw
Replies: 5
Views: 244

Re: Problem with Draw

Line is affected by View , Draw is not If you change colour of the line which is drawn with Draw command, you will see that it is not visible outside the white rectangle. It means that Draw is affected by View , but so-to-say partly... BTW, on VIEW (GRAPHICS) page Draw command is not mentioned and ...
by Carlos Herrera
Aug 21, 2018 21:36
Forum: Windows
Topic: Problem with Draw
Replies: 5
Views: 244

Problem with Draw

Hi All, Minimal program below illustrates the problem #Include "fbgfx.bi" Const red = &HAA0000, grey = &HAAAAAA, white = &HFFFFFF Screenres 500, 500, 32 View (100,50)-(400, 400), white, grey Line (0, 0)-(350, 350),grey,B ' draw line with Line Line (10,10) - (300, 300), red ' dr...
by Carlos Herrera
Aug 20, 2018 11:14
Forum: Beginners
Topic: More on closing windows
Replies: 8
Views: 576

More on closing windows

Hi All, I know that we had better open the windows than close, but consider the following code: ' uses WinGUI(12) by Lothar Schirm #Include "WinGUI.bi" #Include "fbgfx.bi" Using FB Dim As HWND Window_Main, Graphic_Screen, Button_Open, Button_Close Dim As MSG msg dim as string dri...
by Carlos Herrera
Aug 17, 2018 20:54
Forum: Beginners
Topic: How to close a window
Replies: 6
Views: 397

Re: How to close a window

fxm wrote:DestroyWindow(Window_Main) ?

Yes, it works for me. Thank you,
Carlos
by Carlos Herrera
Aug 17, 2018 8:13
Forum: Beginners
Topic: How to close a window
Replies: 6
Views: 397

How to close a window

Hi All, I asked this question before but I did not get any answer, so let me ask again here. To be more specific consider the following program ' uses WinGUI(12) by Lothar Schirm #Include "WinGUI.bi" Dim As HWND Window_Main, Label_txt Dim As MSG msg Window_Main = Window_New (100, 100, 300,...
by Carlos Herrera
Aug 13, 2018 14:03
Forum: Projects
Topic: Simple WinAPI GUI library
Replies: 53
Views: 9656

Re: Simple WinAPI GUI library

Hi All,
Is it possible to close a main window, return to the console and keep program running?
Thanks in advance,
Carlos
by Carlos Herrera
Feb 11, 2018 10:05
Forum: Documentation
Topic: Wiki improvements
Replies: 244
Views: 11178

Re: Wiki improvements

sancho3 wrote:A Brief Introduction To Trigonometry No problems.

The tutorial does not clearly explain important differences between ATAN and ATAN2 functions
(first returns angles in (-pi/2,+pi/2] interval whereas second outputs values in the (-pi,+pi] range, ...).
by Carlos Herrera
Jan 20, 2018 14:53
Forum: Community Discussion
Topic: Using FreeBASIC in the classroom?
Replies: 11
Views: 1027

Re: Using FreeBASIC in the classroom?

So, I'd like to know if anyone here have any practical experience with programming as a teaching tool? Yes, I have a lot. Numerical and symbolic calculations help to introduce difficult concepts fast and on a practical level. But don't start with programing. Use Maxima (with wxMaxima GUI). It is fr...
by Carlos Herrera
Jan 01, 2018 18:55
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 4390

Re: Part 3 Action "the GUI library"

Who said Dislin must be included? It is enough to include examples. And how are they supposed to work, without the library? Apparently, you do not understand what I am talking about, because of my bad English. Let me repeat, this library exists. Short instruction on downloading and installing may b...
by Carlos Herrera
Jan 01, 2018 16:30
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 4390

Re: Part 3 Action "the GUI library"

It is a close source project but it is free for non-commercial use. So, it is completely useless for our purpose. Without source, it can't be adapted or updated. And a license that is free only for non commercial use would not allow to include it in FreeBasic, or in any software developed with it (...
by Carlos Herrera
Jan 01, 2018 13:43
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 4390

Re: Part 3 Action "the GUI library"

Where is the source? And what license does it use? It is a close source project but it is free for non-commercial use. Furthermore, Freebasic is supported and I find Widget Routines quite useful. IMHO its existence strengthen the position of FB. I wonder if somebody here use FB + Dislin on Linux.
by Carlos Herrera
Jan 01, 2018 11:17
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 4390

Re: Part 3 Action "the GUI library"

So, the best solution would be to write a default library, that on windows wraps the default GUI, and on Linux offers interface for both GTK and Qt, always using the same syntax Paraphrasing Lenin's words: "There is such GUI !". It is included as "Widget Routines" in Dislin libr...

Go to advanced search