Search found 12037 matches
- May 21, 2024 20:02
- Forum: General
- Topic: Window Screen Command?
- Replies: 5
- Views: 441
Re: Window Screen Command?
..... chr(8) :) These kinds of characters, which are in fact text cursor positioning commands (for use with 'Print' ), are obviously not compatible with 'DrawString' . To simulate a sort of "teletype effect" with 'DrawString' , one can code something like this: Function fontHeight() As Ul...
- May 21, 2024 9:23
- Forum: Documentation
- Topic: Profiling freebasic programs
- Replies: 31
- Views: 2529
Re: Profiling freebasic programs
When the work is well advanced, I plan to integrate this into the already existing page:
Profiling with fb's profiler (so: function call profiling + cpu cycle count profiling)
- May 15, 2024 19:25
- Forum: Linux
- Topic: fbc works on Debian 11 but not on Debian 12
- Replies: 8
- Views: 482
Re: fbc works on Debian 11 but not on Debian 12
- May 13, 2024 8:23
- Forum: Documentation
- Topic: Profiling freebasic programs
- Replies: 31
- Views: 2529
Re: Profiling freebasic programs
Not fixed yet (after last update) ?fxm wrote: ↑Apr 29, 2024 15:40 @Jeff,
2)The procedure names must absolutely be passed in upper case !Code: Select all
declare sub ProfileIgnore alias "fb_ProfileIgnore" ( byval procedurename as zstring ptr )
- May 11, 2024 11:30
- Forum: General
- Topic: [SOLVED] Get does not save current screen work page
- Replies: 8
- Views: 397
Re: Get does not save current screen work page
Aborting due to runtime error 1 (illegal function call) at line 54 There did you see this error? If I compile and run it on Linux, this is not shown. EDIT: Neither while compiling nor at runtime at the terminal emulator. Do I need to enable some debugging flag or something similar? My FreeBasic ver...
- May 11, 2024 11:28
- Forum: General
- Topic: [SOLVED] Get does not save current screen work page
- Replies: 8
- Views: 397
Re: Get does not save current screen work page
get (0,0)-(breite-1, hoehe-1), menubild_statischer_teil Thank you, this solution is working. My FreeBasic version is: FreeBASIC-1.10.1-ubuntu-22.04-x86_64 However here are some behaviors of 'Get'/'Put' (graphics) learned by my experiment: - Any 'Put' drawing which goes out of a graphic window induc...
- May 11, 2024 10:59
- Forum: General
- Topic: [SOLVED] Get does not save current screen work page
- Replies: 8
- Views: 397
Re: Get does not save current screen work page
Well done SARG.
One can overflow (as you do) when drawing on a screen, but not in an image buffer.
One can overflow (as you do) when drawing on a screen, but not in an image buffer.
- May 11, 2024 8:14
- Forum: General
- Topic: [SOLVED] Get does not save current screen work page
- Replies: 8
- Views: 397
Re: Get does not save current screen work page
Your different information is a little surprising and confusing.
Just one small example highlighting your dysfunction (which other users could then comment on and correct) would be welcome.
Just one small example highlighting your dysfunction (which other users could then comment on and correct) would be welcome.
- May 10, 2024 14:16
- Forum: Sources, Examples, Tips and Tricks
- Topic: How to recover the FB font applied to an unknown graphics screen
- Replies: 3
- Views: 287
Re: How to recover the FB font applied to an unknown graphics screen
WARNING: Depending on the height size of a graphics screen, the command ( 'WIDTH , screenHeightSize \ fontHeightSize' ) to choose a number of whole lines ( 'screenHeightSize \ fontHeightSize' ) associated with a given font height size ( 'fontHeightSize' ) fails sometimes, because not all possible c...
- May 10, 2024 4:08
- Forum: Sources, Examples, Tips and Tricks
- Topic: How to recover the FB font applied to an unknown graphics screen
- Replies: 3
- Views: 287
- May 09, 2024 20:17
- Forum: Sources, Examples, Tips and Tricks
- Topic: How to recover the FB font applied to an unknown graphics screen
- Replies: 3
- Views: 287
How to recover the FB font applied to an unknown graphics screen
The procedure below has no a priori on the graphic screen applied and allows to recover the FB font height applied among 8, 14 or 16 pixels (font width = 8 pixels always): Function fontHeight() As Ulong Dim As Ulong h, r, f = 8 Screeninfo( , h) r = Hiword(Width) If h \ 14 = r Then f = 14 If h \ 16 =...
- May 08, 2024 20:40
- Forum: Beginners
- Topic: Input Box problem
- Replies: 3
- Views: 340
Re: Input Box problem
#Include "windows.bi" ' Declare external functions ''Declare function GetStdHandle( byval nStdHandle as ulong ) as ulong ''Declare function ReadConsoleA( byval hConsoleInput as ulong, byval lpBuffer as any ptr, byval nNumberOfCharsToRead as ulong, byref lpNumberOfCharsRead as ulong, byval...
- May 06, 2024 21:41
- Forum: Beginners
- Topic: fbide.exe-Application Error FIXED
- Replies: 2
- Views: 249
Re: fbide.exe-Application Error
I confirm (seen today with Win 10) that the execution attempt of FBIde can abort (rarely) due to the old mingwm10.dll file included in the FBIde download. The fix is to replace this old file with a newer one, as described below by Sebastian: Hello, I saw the issue on a Windows 7 x64 PC recently. In...
- May 05, 2024 11:05
- Forum: Linux
- Topic: Large Text in 3.5" monitor.
- Replies: 4
- Views: 273
Re: Large Text in 3.5" monitor.
Hi All Thanks for that fxm, but my email address was correct, yet didn't get notification of your post even though "Notify me..." was ticked. ??? Regards If for example "Someone quotes you in a post" is checked in your "Edit notification options" (1st and/or 2nd column...
- May 05, 2024 5:22
- Forum: Linux
- Topic: Large Text in 3.5" monitor.
- Replies: 4
- Views: 273