On Fri, Aug 18, 2023 at 10:21 AM Adriaan van Os via fpc-pascal
wrote:
>
> Is there a way to see if a specific class/object method has been overridden
> or not ?
There's an example of this in Lazarus Controls unit:
// Check if SetTextBuf is overridden, otherwise
// we can ca
;
begin
n := 4711;
end;
function add( a1, a2 : Integer ) : Integer;
var
connection : TConnection;
begin
//connection := TConnection.Create;
Result := 4711;
end;
exports
add name 'add';
end.
___
fpc-pascal maillist -
server with the same command crash
what do i have to do on the server side to have a ssl connection
thanks in advance
peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
creating another half-baked parser :)
Perhaps any existing parser willing to accept patches will do as well.
-- Regards,
Denis Golovan
_______
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
On Sun, Nov 19, 2023 at 11:04 AM Sven Barth via fpc-pascal
wrote:
> Also: does this depend on the operating system and/or file system? Cause
> Linux file systems have different invalid characters (usually only slash and
> NUL) than NTFS or FAT.
Determining FileSystem at runtime, is
On Sun, Nov 19, 2023 at 12:59 PM Michael Van Canneyt via fpc-pascal
wrote:
> The output is in linux.txt and windows.txt
Thanks for testing.
It seems that it'll pick the last absolute path it finds, not the
first one in the argument list.
It seems that DoTest('regular 1',&
On Sun, Nov 19, 2023 at 2:31 PM Michael Van Canneyt via fpc-pascal
wrote:
> > 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)?
>
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
_____
27;,'b']: Got: 'c:\a\b', Expected: '?' <== don't know
what the expected value should be here
NOT ValidateParams
OK: ['']: Got: '', Expected: ''
OK: ['','']: Got: '', Expected: ''
OK: ['','','']: Got: '', Expected: ''
OK: ['a','b','c']: Got: 'a\b\c', Expected: 'a\b\c'
OK: ['a','b','\c']: Got: '\c', Expected: '\c'
OK: ['a','\b','c']: Got: '\b\c', Expected: '\b\c'
OK: ['\a','\b','c']: Got: '\b\c', Expected: '\b\c'
OK: ['\a','\b','\c']: Got: '\c', Expected: '\c'
OK: ['\a','b','\c:']: Got: '\c:', Expected: '\c:'
OK: ['a','<>','\b','c','\d']: Got: '\d', Expected: '\d'
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
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
you,
Amir
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 12/26/23 01:14, Sven Barth via fpc-pascal wrote:
Amir--- via fpc-pascal schrieb am
Di., 26. Dez. 2023, 07:03:
Hi,
I want to retrieve the name of the fields in a record/class, at
run
time. It looks like "TVmt.vFieldTable" is what I need. But I
cannot fi
that!
Doug C.___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Thank you!On Dec 27, 2023 7:46 AM, Sven Barth via fpc-pascal wrote:
Am 26.12.2023 um 21:29 schrieb Amir---
via fpc-pascal:
On 12/26/23 01:14, Sven Barth via
fpc-pascal wrote
PointerToMyRecord. This requires a
"lot" of memory allocation/fragmentation.
Is there a better solution?
Best,
Amir
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Dec 29, 2023 9:50 PM, Adriaan van Os wrote:Amir--- via fpc-pascal wrote:
> Hi all,
>
> I have a List of record, where the record has a WideString field.
> I have some code like the following:
>
> function check(constref v: TMyRecord; data: TListOfMyRecord): Bool
On 12/31/23 02:46, Marco van de Voort via fpc-pascal wrote:
Op 31/12/2023 om 04:11 schreef Amir--- via fpc-pascal:
I compiled the code with `fpc -O3 -Sd -gv -g -gl ` and ran `valgrind`
on it (the output is attached). It does not look like there is a big
difference between the Check1 and
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Tue, 2 Jan 2024 00:02:35 +0100 (CET)
Michael Van Canneyt via fpc-pascal wrote:
>
>
> On Mon, 1 Jan 2024, Pique7 via fpc-pascal wrote:
>
> > Hello everyone,
> >
> > I have already asked this and related questions in the Lazarus Forum.
> >
> > I want
yList;
r: TRec;
p: TMyList.PT;
begin
l := TMyList.Create;
l.Add(TRec.Create(1, 2, 3));
l.Add(TRec.Create(9, 8, 7));
for p in l.GetPtrEnumerator do begin
Writeln(p^.a, ' ', p^.b, ' ', p^.c);
end;
end.
=== code end ===
Regards,
Sven
___
Thanks!
On 1/2/24 22:59, Sven Barth via fpc-pascal wrote:
Amir--- via fpc-pascal schrieb am
Mi., 3. Jan. 2024, 07:53:
Yeap! That is actually what I posted here (Feature Request)
<https://gitlab.com/freepascal.org/fpc/source/-/issues/40578>.
My example allows you to access it
On Wed, 3 Jan 2024 13:00:10 +0100 (CET)
Michael Van Canneyt via fpc-pascal wrote:
>
>
> On Tue, 2 Jan 2024, Pique7 via fpc-pascal wrote:
>
> > On Tue, 2 Jan 2024 00:02:35 +0100 (CET)
> > Michael Van Canneyt via fpc-pascal wrote:
> >
> >>
> >>
>
Ah, yes! The Hello World Machine.
Doug C.
On Thu, 11 Jan 2024 14:34:29 -0500 Adriaan van Os via fpc-pascal
wrote ---
Nikolay Nikolov via fpc-pascal wrote:
> But that increases the binary size to 28 bytes. We can put a 'ret'
That's still 27 bytes too mu
On Mon, 8 Jan 2024 22:08:16 +0100 (CET)
Michael Van Canneyt via fpc-pascal wrote:
>
>
> On Mon, 8 Jan 2024, Pique7 via fpc-pascal wrote:
>
> >> Disregarding the RTF for a moment, you'd need to save the contents of the
> >> text fields in a TStringlist instanc
.freepascal.org/docs-html/user/userap1.html:
-gt Trash local variables (to detect uninitialized uses; multiple
't' changes the trashing value)
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
C:\fpc\git> .\testoutput\tfield.exe
1 field(s) with 1 type(s)
0 -> fTest @ 8 of type TSub
=== output end ===
Side note: contrary to what I had originally written only classes, but
not interfaces are allowed for published fields and they need to have
$M enabled.
Regards,
Sven
Params := TParams.Create;
WriteLn(Params.Int2.IntVal);
WriteLn(TInteger(Params.FieldAddress('Int2')).IntVal);
The third line does not work (the zipped code is attached).
On 1/21/24 23:43, Michael Van Canneyt via fpc-pascal wrote:
On Sun, 21 Jan 2024, Amir--- via fpc-pascal wr
On 1/22/24 23:05, Michael Van Canneyt via fpc-pascal wrote:
On Mon, 22 Jan 2024, Amir--- via fpc-pascal wrote:
Params := TParams.Create;
WriteLn(Params.Int2.IntVal);
WriteLn(TInteger(Params.FieldAddress('Int2')).IntVal);
The third line does not work (the zipped code i
nteger;
begin
Dict := TMyDict.Create;
Dict.OnKeyCompare := @cmp;
key.x := 2;
key.y := 4;
Dict.Add(key, 99);
Value := Dict[key];
writeln(Value);
Dict.Free;
end.
Any advice appreciated. Thanks.
Pete
_______
fpc-pascal maillist - fpc-pas
pair;
Value: Integer;
flg: boolean;
begin
Dict := TMyDict.Create;
Dict.OnKeyCompare := @cmp;
key.x := 2;
key.y := 4;
Dict.Add(key, 99);
flg := Dict.trygetdata(key, Value);
writeln(flg);
writeln(Value);
Dict.Free;
end.
On 1/24/24 12:34PM, Luca Olivetti via fp
Oh I didn't notice the typo, duh. Thanks!!
On 1/24/24 02:57PM, Sven Barth via fpc-pascal wrote:
ppadilcdx via fpc-pascal schrieb am
Mi., 24. Jan. 2024, 22:07:
Thanks for that, now it compiles but it doesn't work, i.e. I added a
pair and value and then used trygetdata an
On Sat, Jan 27, 2024 at 1:40 PM Thomas Kurz via fpc-pascal
wrote:
> My problems are:
>
> 1. The "writeln" in line 32 correctly prints "0." when (cross-) compiling
> to win64, but "39.375" when compiling to win32 (with ppc386).
On Win64 all math i
On Sat, Jan 27, 2024 at 1:40 PM Thomas Kurz via fpc-pascal
wrote:
> 2. According to both C, Sqlite and Excel, the value of "t" in line 41 should
> be "8427.0229167". FPC gives me a difference of approximately 39/86400.
Again: if I cast all flots involved to
On Sat, Jan 27, 2024 at 6:23 PM Thomas Kurz via fpc-pascal
wrote:
> Hmmm... I don't think I can understand that. If the precision of "double"
> were that bad, it wouldn't be possible to store dates up to a precision of
> milliseconds in a TDateTime. I have a d
On Sun, Jan 28, 2024 at 10:21 AM Bernd Oppolzer via fpc-pascal
wrote:
> The problem now is:
>
> the printout of my value suggest an accuracy which in fact is not there,
Which is because I was too lazy to cater for that.
Notice the :20:20 in the writeln statement: I tell the compiler
;
Looks like "ChildTClass.ClassName" is correct but the constructor of the
appropriate class is not being called.
On 1/22/24 23:05, Michael Van Canneyt via fpc-pascal wrote:
On Mon, 22 Jan 2024, Amir--- via fpc-pascal wrote:
Params := TParams.Create;
WriteLn(Params.Int2.IntVal);
: application/gzip
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I see... The trick was to define TMyClass!
Thanks!
On 2/1/24 02:19, Michael Van Canneyt via fpc-pascal wrote:
On Wed, 31 Jan 2024, Amir--- via fpc-pascal wrote:
Without more info (declaration of ChildTClass, declaration of the
constructor
of that class etc), it is not possible to
nt to contribute.___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Tue, Feb 6, 2024 at 6:13 PM Rafael Picanço via fpc-pascal
wrote:
> type
> {$IFDEF CPU86}{$IFDEF CPU32}
> TLargerFloat = Extended;
> {$ENDIF}{$ENDIF}
>
> {$IFDEF CPUX86_64}
> TLargerFloat = Double;
> {$ENDIF}
Why (re-invent the wheel)?
Why not use Ma
Hi,
my test with Borland Pascal 7.0 running in dosemu2 running 80x87 code.
The compiler throws an error message for calculating HH and II with explicit
type conversion.
The results of FF and GG are the same!
Even on 16 bit system!
I think this behavior is right!
In the 80x87 emulation
On Mon, 8 Jan 2024 22:08:16 +0100 (CET)
Michael Van Canneyt via fpc-pascal wrote:
>
>
> On Mon, 8 Jan 2024, Pique7 via fpc-pascal wrote:
>
> >> Disregarding the RTF for a moment, you'd need to save the contents of the
> >> text fields in a TStringlist instanc
On 2/16/24 9:57 AM, James Richters via fpc-pascal wrote:
So you are saying when constant propagation is on, an expression should have a
different result than with constant propagation off?
The result of math when using constants MUST be the same as the result of
identical math using
Thanks. Easy to forget that there are 3 ways to link to external libraries.
Original message From: Sven Barth via fpc-pascal
Date: 17/02/2024 00:29 (GMT+00:00) To:
FPC-Pascal users discussions Cc: Sven Barth
Subject: Re: [fpc-pascal] Can FPC link a program
with static
Hello All,
Just a little question. In
In https://www.freepascal.org/docs-html/prog/progap7.html , there is specified
that
CPUARM Free Pascal target is an ARM 32-bit processor.
What about ARM 64-bit processors like the ones in Raspberries ?
Something similar to CPUPOWERPC with two
just a brief description from my point of view. I hope it is somewhat appropriate, otherwise just ignore it! :)
I will only point out a few negative things which I think might keep also other people from using Lazarus because I think nowadays programmers are quite spoiled ...
Firstly, Pascal
I have always found that the self-contained nature of Pascal/Delphi
executables is a big advantage over other language systems. Just copy
the file and run it, even on a system that has never seen a
Pascal/Delphi executable before. If we could do that with the
IDE/compiler it would be magic
On Wed, 16 Oct 2024 02:07:58 +0300, Rainer Stratmann via fpc-pascal
wrote:
> At the Lazarus Congress in Cologne in October 2024, it ended up being
> very
> interesting. An important question came up.
>
> Why are no new users coming to Lazarus/Freepascal?
> Why do we find it s
I'm doing my part by creating a Cookbook (along with an intro to FPC and snippets).
https://ikelaiah.github.io/free-pascal-cookbook/
https://ikelaiah.github.io/free-pascal-cookbook/docs/basics/intro-objpas-fpc/
Regards,
Ikel
Thum
An FYI for the compiler team I suppose. I got the following warning:
Free Pascal Compiler version 3.2.2 [2023/09/18] for aarch64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Darwin for AArch64
Compiling test.pp
Assembling test
Linking test
ld: warning: -multiply_defined is
On 10/21/2024 1:35 AM, Christo Crause via fpc-pascal wrote:
The official FPC documentation can be accessed from here:
https://www.freepascal.org/docs.html
These are obviously reference documentation, not getting started or
how-to tutorials.
The documentation is hosted here:
https://gitlab.com
, if someone points me
in the right direction.
Regards
Pete
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Ah, Ok thanks!
> On Oct 20, 2024, at 3:32 PM, Martin Frb via fpc-pascal
> wrote:
>
> The compare function is declared right inside the class
>
> { TFPGList }
>
> generic TFPGList = class(TFPSList)
> private
> type
> TCompareFunc = functio
;const ShortString):LongInt,
so only two non-pointer input parameters. Must be another definition somewhere.
> On Oct 20, 2024, at 2:38 PM, Peter B via fpc-pascal
> wrote:
>
> On 20/10/2024 22:17, ppadilcdx--- via fpc-pascal wrote:
>> I’m a little confused by some refe
questions.
1) Should TCompareFunc in TFPGList.Sort be one of the above types, or is there
another definition somewhere?
2) What is an “Integer of object” in TFPSListCompareFunc? (I expect it to be a
typo but then I’m fairly new to free pascal so I might have missed the memo.)
Thanks,
Pete
Thanks!
> On Oct 21, 2024, at 1:35 AM, Michael Van Canneyt via fpc-pascal
> wrote:
>
>
>
> On Sun, 20 Oct 2024, ppadilcdx--- via fpc-pascal wrote:
>
>> Apropos the new users discussion, i think the state of the docs is really
>> important, new us
Regarding Memory Management
Its possible to write a Pascal program w/o any pointer, but it may be not
elegant and interfaces to some C-like GUI structures, as used in all common
OSs, are impossible.
But, I am using Borland Pascal (sic!) and also FreePascal (no Lazarus) for
small embedded
same order (very important!) with suitable signatures
and calling convention (for i386 you should pick cppdecl otherwise the
system default should be alright), implementing that interface in some
Object Pascal class and then passing an instance of that interface to
the library.
It could still go
El 16/10/2024 a las 05:12, Joao Paulo Schwarz Schuler via fpc-pascal
escribió:
Some half baked ideas:
* month after month, the percentage of code coded by AI grows and
human made shrinks.
* could Pascal be the ideal language coded (or preferred) by AI?
Given that Pascal is strongly typed
Dear All,
I am given an API linux library *.so file written in C++.
It was expected to be consume by a program written in C++.
However, I would like to write such a program in Free Pascal.
The given header file is:
#ifndef ApiProxyWrapperReplyH
#define ApiProxyWrapperReplyH
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
On Tue, 15 Oct 2024 21:34:01 -0400 Rainer Stratmann via fpc-pascal
<mailto:fpc-pascal@lists.freepascal.org> wrote ---
Please notice that Telegram does not spend any money in marketing!
Telegram is one of the most popular messenger:
https://www.oberlo.com/statistics/most-p
On Tue, 15 Oct 2024 19:07:58 -0400 Rainer Stratmann via fpc-pascal
<mailto:fpc-pascal@lists.freepascal.org> wrote ---
At the Lazarus Congress in Cologne in October 2024, it ended up being very
interesting. An important question came up.
Why are no new users coming to Lazarus/Free
FPC provides headers for Win API, GTK2, Cocoa, etc. so you can create
GUI applications with a default FPC installation.
W dniu 2024-11-20 o 15:45, Travis Siegel via fpc-pascal pisze:
Again, both of which are IDEs (just of a different type.
You still haven't shown me how to build a GU
Does FPC have an equivalent site to http://www.getlazarus.org/? It's
very well presented.
g.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Fri, 15 Nov 2024 18:35:22 -0500 Steve Litt via fpc-pascal
wrote ---
So what do you all think? Does a good site really boil down to generous
sections of light content on dark background plus generous spacing
between sections and subsections?___
file extrafpc.cfg in Geany
BTW : The guys documenting FPC have never bothered to describe this in
any documentation that I can find.
Vern
On 2024-11-17 12:48, Travis Siegel via fpc-pascal wrote:
On 11/17/2024 12:57 PM, Sven Barth via fpc-pascal wrote:
Am 16.11.2024 um 16:42 schrieb Marcos
On 11/29/24 4:58 PM, James Richters via fpc-pascal wrote:
Thought this should be a separate thread... sorry it if ends up confusing
things.
ummm... so you know: changing the subject does not create a new thread...
posting a new message _/*without*/_ using (one of) the "Reply" bu
James Richters via fpc-pascal wrote on 1/12/24 8:36 am:
I decided to try to fix this myself, and I'm happy to say I got it working!
Well done!
I then went on to figure out that X11 is a Linux thing, but I'm on Windows.
X11 (X Window System) was originally a UNIX thing (macOS
On 12/2/24 10:39 AM, Wayne Sherman via fpc-pascal wrote:
On Mon, Dec 2, 2024 at 4:16 AM wkitty42--- wrote:
TLDR; i'm looking for a (small?) Pascal library to handle lz4 data blocks
contained inside a data file...
These use the lz4 library with pascal bindings (.a and.o files which
c
TLDR; i'm looking for a (small?) Pascal library to handle lz4 data blocks
contained inside a data file...
i've looked for information on how to create and open blocks of lz4 compressed
data in data files... i haven't found much and i'm not sure i'm searching
proper
On 11/15/2024 7:36 AM, Hairy Pixels via fpc-pascal wrote:
On Nov 15, 2024 at 9:23:41 PM, Steve Litt via fpc-pascal
wrote:
First of all, Joanna on #fpc (and other fpc related IRC channels) has
blown off over 100 potential fpc users, including myself. I'm learning
Ada now, and liking it
On Sat, Nov 16, 2024 at 8:55 AM Steve Litt via fpc-pascal
wrote:
> See this is what I don't understand. In the 7 years I used Turbo Pascal
> professionally, I don't remember ever having to allocate or free
> memory: I just declared variables. This was one of the big advantage
El 30/11/2024 a las 09:53, Hairy Pixels via fpc-pascal escribió:
On Nov 30, 2024 at 3:11:10 PM, Michael Van Canneyt via fpc-pascal
wrote:
This is very much on topic. FPC has no build system
Huh ? Of course it does, it has 2. fpcmake (older) and fpmake.
Please don't spread inco
Is there a reason that the fpc installation does not include the fcl-stl
examples and docs in the share/doc directory? I had to download the fpc source
to find them (in packages/fcl-stl).
Regards
Pete
___
fpc-pascal maillist - fpc-pascal
FYI: A related case is rtl-generics, although there are some examples in the
installed share/doc, there are many more examples in the fpc source
packages/rtl-generics. Thanks.
Pete
> On Feb 4, 2025, at 1:49 AM, Michael Van Canneyt via fpc-pascal
> wrote:
>
>
>
>
files, and not sure how propose a change to add the generated html files
so that they show in the documentation site.
Any advice appreciated.
Regards
Pete
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
s#(Process.)RunCommand
In general, study this article. There are a lot of details there, and options
that you can choose, depending on what you need.
>Пятница, 24 января 2025, 19:18 +05:00 от Terry A. Haimann via fpc-pascal
>:
>
>
>I recently tried to execute a sed command from Lazaru
On Mon, Dec 16, 2024 at 2:21 PM Bo Berglund via fpc-pascal
wrote:
> Can this be done and in that case how?
Yes, of course it can be done.
Lazarus IDE just calls the compiler with the correct parameters ;-)
If you happen to have a compiled version of lazbuild on the computer
in question i
El 16/10/2024 a las 19:03, Guillermo Martínez Jiménez via fpc-pascal
escribió:
Prease DON'T add garbage collector. IMO it isn't a good idea. I had
very bad experiences with it. Unless somebody found a new magic
algorithm in the last decade...
El Wed, 16 Oct 2024 04:49:44 -0700
Ha
On 11/01/2025 8:46 pm, Duke Normandin via fpc-pascal wrote:
I’ve Googled my butt off looking for fpc/pascal examples
/tutorials on writing a simple tcp client and server. NO JOY! Anybody got any
ideas? TIA
—
Duke
Sent from my iPhone
___
fpc-pascal
For example, you might find the Synapse package useful:
https://wiki.freepascal.org/Synapse
>Воскресенье, 12 января 2025, 14:04 +05:00 от Duke Normandin via fpc-pascal
>:
>
>I’ve Googled my butt off looking for fpc/pascal examples
>/tutorials on writing a simple
ase can we change the gmp.pas source to:
{$ifdef darwin}
{$linklib gmp.dylib}
{$endif}
That way folks can use the installed unit w/o changes (except to their lib
path).
Thanks!
> On Feb 14, 2025, at 6:48 AM, Michael Van Canneyt via fpc-pascal
> wrote:
>
>
>
> On Tue, 1
mebrew/lib/libgmp.10.dylib
/opt/homebrew/lib/libgmp.a
/opt/homebrew/lib/libgmp.dylib
Is there a workaround or is the gmp unit unusable with newer versions of gmplib?
Appreciate any advice.
Regards
Pete
___
fpc-pascal maillist - fpc-pascal@lists.
I am also allergic to javascript!
Consider Lua instead.
Doug C.
On Fri, 21 Feb 2025 07:35:39 -0500 Alexey T. via fpc-pascal
wrote ---
Scripting is good thing. But I hate JS. No mandatory quotes around dict
keys. Arrow functions which are sugar and not needed. etc etc.
I
Beyond Compare is the single most valuable utility I have bought in 30 years of
PC use. Highly recommended!
On Thu, 20 Feb 2025 20:33:41 -0500 Wayne Sherman via fpc-pascal
wrote ---
Peter B wrote:
> I'm wondering if there is any diff tool out there,
> that caters
---
Again, not my choice, but folks do tend to like it for some
reason, so why not?___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
For the functions EndsStr/EndsText in StrUtils, the description starts with
"StartsText checks …”; when it should start EndsStr/EndsText respectively.
Not sure if I should submit a pull request for just a typo.
Regards
Pete
___
fpc-pascal mai
Actually, in Pascal (* and *) came before { }. But this is quite off topic for
this thread, so let's leave it.
Doug C.
On Mon, 28 Jul 2025 10:41:31 -0400 Hairy Pixels via fpc-pascal
wrote ---
On Jul 28, 2025 at 8:24:38 AM, Brian via fpc-pascal <
mailto:fp
On 7/28/25 09:26, Travis Siegel via fpc-pascal wrote:
Your argument makes no sense. There's always been multiple ways to do
many things in pascal, and it's never caused any more confusion than
any other typical language construct.
Take for instance, comments.
{ this is a comme
Michael Van Canneyt via fpc-pascal < mailto:fpc-pascal@lists.freepascal.org >
schrieb am Mo., 28. Juli 2025, 11:21:
If this argument is to carry any weight, then we also need to remove
all instances where FPC did things differently from Delphi:
False. This argument still c
Hello, on which pages exactly are the links broken?
Of course, you can help with that. Find them via search, make sure they are the
right pages, and edit the links. Or report it (here or on the forum) if you are
not sure.
>Четверг, 31 июля 2025, 12:51 +05:00 от Tim Coates via fpc-pas
essource, I get also a array of float ?
>
> In wiki : http://wiki.freepascal.org/Lazarus_Resources tey speak only how
to
> add files into ressource.
No, you can't. Resources are not intended for this.
What are you trying to achieve?
Regards,
Sven
_______
e you writing the array and how are you
reading it?
> Could it be that TFileStream does accept only integers as data ?
> If yes, a conversion would be needed ?
One can write and read any blob of data with the stream classes if one
knows what one is doing.
Regards,
Sven
__
So it seems to me Sizeof(bufferfloat[x]) is the same in the 3 cases (alway
> sizeof(float)).
Of course it's always the same size as it's an array of cfloat after all
and no assignment will change that.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
r(1), fmOpenRead);
try
fs.ReadBuffer(fbuf[0], Length(fbuf) * SizeOf(fbuf[0]));
finally
fs.Free;
end;
for i := Low(fbuf) to High(fbuf) do
Writeln(fbuf[i]);
end.
=== code end ===
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal
nd times the code, maybe I will find what is
wrong.
Then try to minimize your code as much as possible and then show it here
(an as small as possible compileable example that shows your problem).
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.fr
as a resource you need to use TResourceStream.
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lp.
> Do you agree if I add your name into the list of the "great contributors"
of
> uos (https://github.com/fredvs/uos) ?
>
I don't think that's necessary. I'm merely doing my "job"...
Regards,
Sven
___
f
601 - 700 of 5825 matches
Mail list logo