On Tue, Sep 9, 2025 at 11:23 AM Bo Berglund via fpc-pascal
wrote:
> This is an issue that I believe is caused by Windows 11...
AFAIK nothing relevant has changed in the WS code that could cause this.
--
Bart
___
fpc-pascal maillist - fpc-pas
e on Win11.
When I unchecked the "Stay logged in" checkbox I could login.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
milar project.
Goto Colpiler Options -> Show compiler options.
This will show all parameters that the IDE gives to the compiler,
including all unitpaths.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org
s
> of Turbo Pascal over C.
Well, then you never needed datastructures > 64k (IIRC).
Even my addressbook (who didn't write one?) used GetMem/FreeMen or
New/Dispose to allocate new records on the heap for that.
Even basic Pascal books (yes, books on paper in those years)
extensively c
iteln('foo');
end;
begin
foo;
end.
===
It outputs:
C:\Users\Bart\LazarusProjecten\ConsoleProjecten>test
class operator TRec.Initialize(var aRec: TRec)
foo
So, the initialization code is called before anything in the function.
Bart
On Sat, Nov 2, 2024 at 6:54 PM Thomas Kurz via fpc-p
th.Float?
IIRC then this is Extended, double or Single depending on CPU type.
And always the largest precision the CPU supports.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
curacy is even one digit
less precise than in fpc (it goes 1 digit earlier "off").
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
nded(86400.0));
writeln('tt=',tt:20:20);
writeln('ee=',ee:20:20);
end.
===
Now see what it outputs:
C:\Users\Bart\LazarusProjecten\ConsoleProjecten>fpc test.pas
Free Pascal Compiler version 3.2.2 [2021/05/15] for i386
...
C:\Users\Bart\LazarusProjecten\C
double both the result of
maketime and the calculation (8427 - 0.5) + (12/ 24.0) + (33/1440.0) +
(0/86400.0) give this value: 8427.022916668000
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
s done with double precision, on win32 all literal
floating point values in your code will be interpreted as Extended.
Cast everything to Double and the result will be the same on Win64 and Win32.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freep
On Thu, Dec 14, 2023 at 5:01 PM Adriaan van Os via fpc-pascal
wrote:
> I always use "OTHERWISE instead of ELSE, but that's my personal
> preference.
+1
Seeing OTHERWISE in source code just makes me smile.
--
Bart
___
fpc-pascal
\c'
OK: ['\a','b','\c:']: Got: '\c:', Expected: '\c:'
OK: ['a','<>','\b','c','\d'] --> EArgumentException, (as expected)
FAIL: ['c:','a
On Sun, Nov 19, 2023 at 3:50 PM Bart wrote:
> Thanks again for testing.
What about ['c:','a','b']
Does it return c:a\b, or c:\a\b (on Windows), or IOW: does it take
into account driveletters?
The first one IMO would be correct.
--
Bart
_
hanks again for testing.
Where is EInOutArgumentException defined?
Probably it's defined as class(EInOutError)?
If so, what is the value of the ErrorCode property in this case?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
'\b' in that case.
This raises the question what the result of
TPath.Combine(['a','\b',c'','\d','e']) would be (I would then expect
either \b\c or \d\e)?
If ValidateParams is True, will it raise an error
s own or after
concatenation).
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
implement these features.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ll RealSetText directly
if TMethod(@Self.SetTextBuf).Code = Pointer(@TControl.SetTextBuf)
then //not overridden
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ange exception, since the offending coordinates are
out of range.
Invalid Argument for me would apply to situations like a wrong type
for a format specifier.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/c
in question.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, Apr 29, 2023 at 10:30 PM Thomas Kurz via fpc-pascal
wrote:
> Is it intentional that StrIComp (from the strings unit) gives an access
> violation if one of its arguments is NIL?
Yes.
Delphi does so too.
--
Bart
___
fpc-pascal ma
On Tue, Apr 4, 2023 at 6:00 PM Tomas Hajny via fpc-pascal
wrote:
> Well, managed types are not very likely in code imported from a Pascal
> compiler not knowing units...
Well, his fpc.cfg might define string to be ansistring...
--
Bart
_
that is the
result of a string concatenation, then you'll have a memory leak.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
g
> where the error occurred), but number has a value of 0.
>
> In tp, number would still have a value of 123, because it would simply
> ignore the carriage return at the end of the string.
In TP 6.0, code is set to 4 and number to zero (but the value of
number shall be undefined if code
> use a Qword here if I know I will never need I to be a negative number?
IIRC then you can only use native type or smaller as a loop variable
in for loop.
You can use it in a while or repeat loop though.
On 64-bit you can use qword as a loop variable in a for loop.
--
Bart
__
ean the part of the Lazarus IDE that does code completion etc.
Since you don;t use Lazarus, you must mean something else?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, Oct 5, 2022 at 8:33 AM Hairy Pixels via fpc-pascal
wrote:
> Does CodeTools not understand generic class function calls? Here is the class
> in question:
CodeTools is part of Lazarus.
So, better ask on the Lazarus ML.
(And yes, CodeTools has problems with generics.)
--
to work if the argument was a stringlist?
Probabaly it could, but it's not likely going to happen.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
not the future of our beautiful language.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Create(Fn, fmOpenRead or fmShareDenyNone);
try
Len := FS.Read({%H-}Buf[0], BufLen);
if (Len > 2) and (Buf[0]=$EF) and (Buf[1]=$BB) and (Buf[2]=$BF) then
begin
//UTF8 BOM
--
Bart
___
fpc-pascal maillist -
Not so in fpc 3.2.2.
So, most likely a bug that got fixed.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, Jan 12, 2022 at 11:33 PM Sven Barth via fpc-pascal
wrote:
> You can see it in Florian's commit to the branch about range checking where
> he added the DestSize parameter.
Yes, I discovered that.
Will study a bit how this is done, just for the fun of it.
On Wed, Jan 12, 2022 at 10:28 PM Bart wrote:
> Could you naybe point me to where in the compiler this "magic" happens?
> (fpc_Val_UInt_Shortstr() signature needs to be changed IMO)
Never mind, I just notice a new branch val_range_check was created
that just does this.
I'll
> be changed.
Could you naybe point me to where in the compiler this "magic" happens?
(fpc_Val_UInt_Shortstr() signature needs to be changed IMO)
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org
; "! Duties, taxes, and fees totaling INF are due for this delivery."
Submit to https://thedailywtf.com/ ?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ou cast LineEnding to a string, it should work on all platforms I
guess (since it invokes the overload with the array of string as
separatorlist).
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-b
On Wed, Nov 3, 2021 at 1:57 PM Hairy Pixels via fpc-pascal
wrote:
Maybe use SomeString.Split([LineEnding'], ...)?
Split has an overload that takes an array of string as first paramter.
--
Bart
___
fpc-pascal maillist - fpc-p
;
...
SA := S.Split([#0..#32],TStringSplitOptions.ExcludeEmpty);
test.pas(236,59) Error: Incompatible type for arg no. 2: Got
"TStringSplitOptions", expected "Char".
I feel I must be blind...
--
Bart
___
fpc-pascal mai
On Wed, Sep 15, 2021 at 12:32 PM Bart wrote:
> This should work
>
> type
> StringCP1251 = AnsiString(1251)
That should be
type
StringCP1251 = type AnsiString(1251);
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepasc
On Wed, Sep 15, 2021 at 12:14 PM Abuy via fpc-pascal
wrote:
> I need string with Windows-1251. Tried var msg: AnsiString(1251) but
> this does not work. What I am doing now is
This should work
type
StringCP1251 = AnsiString(1251)
var
S: StringCP1251;
--
cumbersome
compared to Lazarus.
None of the things I got used to work there (nor do they do in D3 or
D7 for that matter).
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
and of course that does not
work.
So, if you're on Windows, *nix or a Mac, my advice is to use Lazarus
as your IDE of choice.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
hard about it ?
>
> It's like switching car brands from a VW to an Audi or so.
To me it feels more like switching from Pascal to C#.
But maybe I'm just a little braindead.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.or
On Wed, Aug 11, 2021 at 11:37 PM Michael Van Canneyt via fpc-pascal
wrote:
> As a programmer, switching version systems should be a no-brainer.
My brain begs to differ...
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
ht
age)
--
Bart
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
(QWORD(n), SizeOf(Byte)*8);
end;
end.
and this program
program test;
{$mode ObjFPC}
uses
Extmath;
var
b: byte;
L: Integer;
begin
b := 0;
L := LeadingZeroBits(b);
end.
On Windows this won't build with 3.2.2 or 3.2.0.
It will build with 3.0.4.
C:\Users\Bart\LazarusProjecten\bugs\Co
rything you need, you add it yourself.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
sword), so in the end I just used
something like:
uses
WinUtils;
procedure CheckIsAdmin;
begin
if not WinUtils.IsWindowsAdmin then
begin
writeln('This program requires administrator priviliges.');
writeln;
Halt;
end;
end;
Bart
--
Bart
On Wed, Jun 16, 2021 at 2:21 PM Jean SUZINEAU via fpc-pascal
wrote:
> I guess that what was meaning Bart by hardcat is that you need to
> transtype the result this way:
> var dw: DWord;
> begin
> dw:= DWord( Registry.ReadInteger(...)) ;
Indeed.
This is a lossless opera
read:
As I said before, it is compatible with Delphi.
See:
http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Win.Registry.TRegistry_Methods
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
/WriteD/QWord() yourself if
you subclass TRegistry (and call the subclass TRegistry).
I have a Windows only implementation of TRegistry which actually
implements this.
(My implementation of the registry does not support TRegIniFile b.t.w.)
--
Bart
___
fpc-pa
it was bundled with Delphi 1, and
that was the one I needed, since I was on Win 3.10) for about ƒ200.
(€1.00 = ƒ2.20).
It came with a full manual (on paper that is).
Those were the days
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepa
On Tue, Apr 6, 2021 at 12:29 PM James Richters via fpc-pascal
wrote:
> Or Am I going to be better off going graphical with Lazarus for something
> like this?
TShellTreeView in Lazarus should do exactly what you want.
It's not console though.
n't show the "function X; marked as inline is not inlined" warning
-vm6058
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
r reports as major or even block.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sun, Mar 14, 2021 at 4:15 PM Michael Van Canneyt via fpc-pascal
wrote:
> Fixed. Thanks for the patch.
> There was a second issue, which is now also fixed.
You set target to fpc 4.0
The simple patch I made can be backported/merged to 3.2 fixes branch?
--
On Sun, Mar 14, 2021 at 2:55 PM Bart wrote:
> I think I have a fix, will report it.
Reported as https://bugs.freepascal.org/view.php?id=38622
Possible patch attached in the bugreport.
--
Bart
___
fpc-pascal maillist - fpc-pas
On Sun, Mar 14, 2021 at 1:49 PM Bart wrote:
> Do you know if we have a test suite for this function, so I can test
> if there ar regressions when I try to fix it?
Found it already.
I think I have a fix, will report it.
--
Bart
___
fpc-
ons when I try to fix it?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
oString(S2);
writeln(S1);
until S2='';
end.
C:\Users\Bart\LazarusProjecten\ConsoleProjecten>fpc test.pas
Free Pascal Compiler version 3.2.0 [2020/06/04] for i386
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling test.pas
Linking test.exe
On Sun, Mar 7, 2021 at 5:31 PM Marco van de Voort via fpc-pascal
wrote:
> Probably it is not in the BMP and thus needs more position than one.
Length(Char) is 5 according to fpc, I see 5 "graphemes", which suggest
that all of them fit into 1 WideCh
clude the folders where fpc/lazarus reside from scanning.
Also the folders where I develop my programs.
If you don't you're bound to get strange bugs and thing like this.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.f
FillChar(FData[StartIndex+i], SizeOf(T), 0);
end;
end;
end;
I tested this with T being Array of Char (so FData being an array of
array of Char).
Leaving out any of the Finalize statements will make HeapTrace barf at
me about unfreed memory blocks.
Does it make any sense?
--
Bart
__
, but now we have Generics.Collections etc:
do we already have a better generic Deque (double ended queue)
implementation somewhere?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
base class and call that inside the loop, but that feels a
bit sloppy.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
me.Move() can be safe, but it
is not guaranteed (almost by definition you never know what is
going to be in the specialization.
So, I'll use a for loop to copy the data.
I assume that doing Arr[Index] := Default(T) will also finalize the
element if that element ismanaged?
--
Bart
__
the array?
2. Is it OK if the elements of the array are (or contain) managed types?
3. Are there caveats if T is a specialization of a generic type definition?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https
On Tue, Jan 5, 2021 at 3:30 PM wkitty42--- via fpc-pascal
wrote:
> provided the other program opens the file for creation properly (eg:
> blahDenyAll), right?
Maybe use fmShareExclusive when opening the file.
That name suggest you can only open if you are the only one?
--
> to open it until it's done being written?
Simple approach?
Use filemode = fmOpenRead and use a try..except block to open the file?
Opening will fail if the file is locked by another process (triggering
the exception).
--
Bart
___
fpc-pascal m
s capability is detected, hence my
reference to the compiler.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
and
> line help output too, but I'll have to test how well FPC supports that, and
> how
> cross-platform it is.
You know that fpc trunk now supports coloured output of the compiler (messages)?
--
Bart
___
fpc-pascal maillist - fpc-pasc
tents Unicode as well.
From my perspective that sucks.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
consists of more than one
statement and as such must be enclosed in a begin/end pair.
Bart
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, Sep 9, 2020 at 5:25 PM Tomas Hajny via fpc-pascal
wrote:
> A simple question - is TLabel.Caption declared as Utf8String
No.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mail
irective in unit1.
This is a bit counter intuitive to me.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
e:
https://en.wikipedia.org/wiki/Pigeonhole_principle
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ers to the list.
Bart
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
there's no "out" parameters. Otherwise I would definitely
> have used one.
{$modeswicth out} perhaps?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
d and checked for correct functioning,
Maybe one could apply {$modeswitch out} ?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
there with some fixes (I should really test
> that...)
I would at least want to weed out targets we definitively do not
support like embedded platforms and DOS.
But in the end that's up to the Lazarus devs.
I just wanted to know how that could be done.
Thanks @all for the info.
--
Bart
On Tue, May 5, 2020 at 10:05 PM Rainer Stratmann
wrote:
> Did I overlooked something?
Your function returns a functiontype?
Is that intended?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-
identifying an actual bug in the Lazarus build process
(which might be in the Makefile) rather difficult.
Is it possible to control this in the makefile.fpc file?
Bart
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists
On Mon, Apr 6, 2020 at 2:28 PM mr.jenuine mr.jenuine via fpc-pascal
wrote:
> ... but when i run the bundle.sh i get error warning as shown below;
You run a linux shell script in Windows?
--
Bart
___
fpc-pascal maillist - fpc-pas
On Wed, Apr 1, 2020 at 5:22 PM Marco van de Voort
wrote:
> I think I'll put this under a special porunidle option in trunk and fpc
> 3.2.0 , so to only trigger this when needed.
Hmm..
porunidle -> poRunIdle (to be consistent in namegiving)?
Ba
On Wed, Mar 25, 2020 at 10:30 PM wrote:
> what? you don't like laughing bearded guys?
LUL means penis (and I'm putting it nicely here) in Dutch.
Google translate translates it as either asshole (anatomically rahter
incorrect), cock, or pric
On Wed, Mar 25, 2020 at 7:48 PM wrote:
> [wargames] seems like the winning move is to not play the game. [/wargames]
> LUL
LUL ??
What does that stand for?
Better not say that to someone who speaks Dutch (like me) ;-))
--
Bart
___
fpc-
e);
writeln('foldlevelmask=',foldlevelmask);
end.
Prints:
intermediate=192
foldlevelmask=63
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Mon, Mar 16, 2020 at 8:31 AM Maël Hörz wrote:
> But I could not find any mention of the derefence operator ^.
As was explained to you in
https://forum.lazarus.freepascal.org/index.php/topic,48911.0.html, the
dereferencing a pointer (by using ^) isn't an operator.
of IS has
been altered (to conform to docs and Delphi)
So it is now parsed as:
if fld1 is (tblobfield and (self.fblobintf <> nil)) then begin
Use: if (fld1 is tblobfield) and (self.fblobintf <> nil) then begin
Bart
--
Bart
___
rote, when a program terminates all memory is
> returned to the OS so that is not really a problem.
If you really dislike the memory leak (since it's not "nice
programming"), maybe you can set ExitCode before calling terminate?
(Untested idea (TM))
--
Bart
_
On Tue, Jan 21, 2020 at 9:41 PM Graeme Geldenhuys
wrote:
> 2. Anybody else experience this zombie processes hanging
> around in *nix systems? Is there any option in TProcess
> to prevent that?
https://bugs.freepascal.org/view.php?id=11797
en a ticket in the bugtracker?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
BOM with fpc r43847, with and withoud
DefautSystemCodePage := CP_UTF8.
TIniFile might benefit from a WriteBom (Boolean) property ?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
TIniFile manually adds the BOM to the first Line.
Then SaveToFile is called, which (if FEncoding = Utf8) will add the BOM again?
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc
codepage of the stringlist's internal list of strings
(array of TStringItem's)?
It seems that the stringlist considers it's internal
TStringItem.FString that has #$C3A#$A4 to have a codepage of CP_ACP
(always)?
Bart
--
Bart
On Sat, Nov 23, 2019 at 7:47 PM Bart wrote:
As I was afraid: User error!
Cfg.JSONOptions := Cfg.JSONOptions + [joIgnoreTrailingComma];
This forces a reload of the file (since Filename isn't empty at this point).
(B.t.w. fpc trunk raise an error :
An unhandled exception occurred at $004
List is a TSTringList
Cfg.SetValue(jpaPerson, List, True);
This creates a file like
"AdresBoek" : {
"Info" : {
"CopyRight" : "Copyright (c) 2011 by Flying Sheep Inc. & Bart Broersma",
},
"Personen" : {
&q
On Mon, Oct 21, 2019 at 5:24 PM AlexeyT wrote:
>
> First field is below the "OS" and "Product build" on the top; 2nd is
> below "Attach tags". Remove 1 of them.
One is fixed in version (e.g. 2.2.4), the other fixed in revision
(e.g. r123456789).
-750001.2.69
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
blem.
> Oh, well, I can use shortstrings in this application, though it really
> puzzles me (setting position:=0 doesn't change anything yet it causes
> this problem).
It's a regression and needs to be fixed before 3.2.0 is released.
--
Bart
1 - 100 of 463 matches
Mail list logo