Search found 3560 matches
- Wed Apr 24, 2024 4:25 pm
- Forum: Windows
- Topic: Visual Studio linker download
- Replies: 9
- Views: 163
Re: Visual Studio linker download
Well done! Thanks for this utility.
- Mon Apr 22, 2024 6:48 pm
- Forum: Bugs - Windows
- Topic: PROCESSENTRY32 structure failure in 6.11 beta 1
- Replies: 3
- Views: 162
- Sun Apr 21, 2024 7:10 pm
- Forum: Coding Questions
- Topic: Speed up loop
- Replies: 13
- Views: 602
Re: Speed up loop
Cool, that's what I thought. I just made too many mistakes cutting and pasting. I got compiles from 28ms to 78ms on various png files. But, I declared a single @ char for MyString, which resulted in a mono character output. Ill run your explicit code now. Thanks! EDIT: Infratec's enableexplicit code...
- Sun Apr 21, 2024 6:15 pm
- Forum: Coding Questions
- Topic: Speed up loop
- Replies: 13
- Views: 602
Re: Speed up loop
Tried to run the topic but ran into some pitfalls.
Where is MyString defined?
No EnableExplicit
What is the goal of the textual output?
Where is MyString defined?
No EnableExplicit
What is the goal of the textual output?
- Sat Apr 20, 2024 2:57 pm
- Forum: Bugs - Windows
- Topic: [Done] Static array index-less reference
- Replies: 11
- Views: 857
Re: [Done] Static array index-less reference
There is an argument to insist on consistent syntax. But many prefer "can't" to "cannot" or "can not". "a = a + 1" vs "a + 1" For simplicity, I would force 1 and only 1 way to reference. Shortcuts and undefined behavior should be avoided as complexit...
- Fri Apr 19, 2024 3:26 pm
- Forum: Coding Questions
- Topic: Thread Parameters?
- Replies: 25
- Views: 1392
Re: Thread Parameters?
Yes, semaphores have been very reliable for me. Just be careful with the shared use of Map() data. This is my NOTE TO SELF: ; Current PB Design means a Map()'s current element pointer is NOT "threaded". ; A read in one thread can change the current element within another thread. ; Unlike a...
- Fri Apr 19, 2024 2:53 pm
- Forum: Coding Questions
- Topic: Check if UseSQLiteDatabase is called
- Replies: 10
- Views: 290
Re: Check if UseSQLiteDatabase is called
Before I compile various apps, I have to configure them. So why not force the issue with settable constants? Here is example to force the use of USESQLITE CompilerIf Defined(MY_EXE, #PB_Constant) ; Do nothing. CompilerElse #MY_EXE = 0 CompilerEndIf CompilerIf #MY_EXE #SQLITE_USE_DLL = 0 ; 0=use stat...
- Fri Apr 19, 2024 3:19 am
- Forum: Bugs - Windows
- Topic: 6.11b1 compiler reports syntax error on PeekS
- Replies: 2
- Views: 167
- Thu Apr 18, 2024 2:39 pm
- Forum: Bugs - Windows
- Topic: [Done] Static array index-less reference
- Replies: 11
- Views: 857
Re: [Done] Static array index-less reference
Ok, is this the new behavior?
exe$ = UCase(PeekS(@Process\szExeFile, -1, #PB_Ascii)) ;<-- v611b1 syntax error but used to work.
exe$ = UCase(PeekS(@Process\szExeFile[0], -1, #PB_Ascii)) ;<-- v611b1 ok.
Structure Processentry32 field:
szExeFile.c[260]
exe$ = UCase(PeekS(@Process\szExeFile, -1, #PB_Ascii)) ;<-- v611b1 syntax error but used to work.
exe$ = UCase(PeekS(@Process\szExeFile[0], -1, #PB_Ascii)) ;<-- v611b1 ok.
Structure Processentry32 field:
szExeFile.c[260]
- Wed Apr 17, 2024 7:10 pm
- Forum: Announcement
- Topic: PureBasic 6.11 LTS Beta 1 is ready for testing !
- Replies: 13
- Views: 1520
Re: PureBasic 6.11 LTS Beta 1 is ready for testing !
Nice
My redim bug works.
My redim bug works.
- Sat Apr 13, 2024 7:34 pm
- Forum: General Discussion
- Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
- Replies: 21
- Views: 1728
Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Read the release notes. It is a necessary improvement compiling with latest C libs. You can reduce the larger files somewhat using VS2022 link.exe.
- Sat Apr 13, 2024 2:59 pm
- Forum: Coding Questions
- Topic: Debug mode execution speed can vary on source whitespace.
- Replies: 12
- Views: 753
Re: Debug mode execution speed can vary on source whitespace.
Compile exe without debugger and report.
- Wed Apr 10, 2024 5:11 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 335
- Views: 42095
Re: PureBasic 6.10 LTS is out !
As Psychophanta said, accuracy can be subjective. Search the forum for examples of math errors when mixing integers and floats. The results depend on the order of the algebraic expression and can be very hard to find. For floating point calculations, I prefix "0.0+" to force a floating poi...
- Wed Apr 10, 2024 1:46 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 335
- Views: 42095
Re: PureBasic 6.10 LTS is out !
Not as simple as that obviously.
But, there are cases where algebraic rules vary from ideal. Or when asm and cbe compiles do not match. Or when a bug forces a change in scope.
These slow development and release of your app.
Size of the app exe is so far down the list it could be last.
But, there are cases where algebraic rules vary from ideal. Or when asm and cbe compiles do not match. Or when a bug forces a change in scope.
These slow development and release of your app.
Size of the app exe is so far down the list it could be last.
- Tue Apr 09, 2024 6:04 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 335
- Views: 42095
Re: PureBasic 6.10 LTS is out !
My priority for EXE => accurate, fast, something I have not thought about yet, something else, size.