Forum > General
Stange behaviour of Lazarus Trunk version
madref:
It's also not fixed in the fixed version of Lazarus :(
jamie:
All this because of not being able to determine the string length?
What's wrong with the #0 at the end of the string as a length?
Last time I checked most DB engines were written in languages that used NUL char at the end of a string.
Or have I strayed off course again?
dsiders:
--- Quote from: Zvoni on June 11, 2024, 01:17:43 pm ---Huh?
Is there something wrong with Sourceforge?
I'm getting a 404 for
https://lazarus-ccr.sourceforge.io/docs/lcl/dbctrls/tdblookupcombobox.html
--- Quote ---An error has been encountered in accessing this page.
1. Server: lazarus-ccr.sourceforge.io
2. URL path: /docs/lcl/dbctrls/tdblookupcombobox.html
3. Error notes: NONE
4. Error type: 404
5. Request method: GET
6. Request query string: NONE
7. Time: 2024-06-11 11:15:56 UTC (1718104556)
--- End quote ---
--- End quote ---
Source Forge decided to truncate the hosting directory for the documentation. It has been restored as of now... until the next time they get spastic.
madref:
I hope that some can resolve this strange behaviour so that I and my fellow coders don't have to jump hoops like we do now ;)
Thaddy:
--- Quote from: jamie on June 12, 2024, 12:08:34 am ---All this because of not being able to determine the string length?
What's wrong with the #0 at the end of the string as a length?
Last time I checked most DB engines were written in languages that used NUL char at the end of a string.
Or have I strayed off course again?
--- End quote ---
If it is really a pascal string the lenght is stored at negative offset, so no need to call strlen. It always ends with #0 or #00 depending on string type.
Navigation
[0] Message Index
[#] Next page
[*] Previous page