Search found 12033 matches
- May 11, 2024 11:30
- Forum: General
- Topic: [SOLVED] Get does not save current screen work page
- Replies: 8
- Views: 370
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: 370
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: 370
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: 370
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: 271
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: 271
- 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: 271
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: 328
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: 206
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: 256
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: 256
- May 03, 2024 5:53
- Forum: Beginners
- Topic: Program Exits With Array Problem
- Replies: 6
- Views: 383
Re: Program Exits With Array Problem
What is the operating system? Compile the program with the '-exx' option and check if a runtime error message appears on the console output. [edit] Unlike 'DIM SHARED AS LONGINT YAxis2(221)' , 'DIM SHARED AS LONGINT YAxis2(1 TO E3+LB1)' defines a dynamic array (instead of static) with its data locat...
- May 02, 2024 16:38
- Forum: General
- Topic: [FBC 1.10.1 BUG] Define concat and stringize
- Replies: 4
- Views: 297
Re: [FBC 1.10.1 BUG] Define concat and stringize
Me too, but I regret that Discord takes priority over the Forum (I suppose the question was asked on both).
- May 01, 2024 20:15
- Forum: Documentation
- Topic: Profiling freebasic programs
- Replies: 27
- Views: 2195
Re: Profiling freebasic programs
New related pages in documentation: - Compiler Option: -profgen - __FB_PROFILE__ - __FB_OPTION_PROFILE__ - Profiling with fb's profiler (in Programmer's Guide) + Many slightly modified pages. In documentation, the update regarding profiling (with fb's profiler) is now pretty much finalized.
- May 01, 2024 16:21
- Forum: Documentation
- Topic: Profiling freebasic programs
- Replies: 27
- Views: 2195
Re: Profiling freebasic programs
Profiling reports in case of multi-threading The report of a block per thread: (main), (thread)#1, (thread)#2, ..., suits me perfectly. But accumulation of procedures (or builtin instructions) should only be carried out in the same thread, because it is illogical to add up the execution times of pr...