On 2025-02-25 22:09, Jean SUZINEAU via fpc-pascal wrote:
I haven't done it recently but basically on Windows you have keys in
the registry under HKEY_CLASSES_ROOT to associate your program with a
specific file extension.
You can view the registry with regedit.
.
.
I'd add that you can define
On 2025-02-24 12:44, Michalis Kamburelis via fpc-pascal wrote:
Karoly Balogh wrote:
.
.
3. Discussions whether language X is good or bad should be an
independent discussion, in an independent thread(s), IMHO. Because
.
.
...and a different mailing list (in particular, fpc-other).
Tomas
On 2025-02-24 11:22, Arne Hanssen via fpc-pascal wrote:
Den 24.02.2025 09:27, skreiv Karoly Balogh via fpc-pascal:
On Sat, 22 Feb 2025, DougC via fpc-pascal wrote:
Hi,
[...]
As a former OS/2 user I find REXX (Regina Rexx nowadays) very
versatile and useful - and easy to learn. But you're
On 2025-01-10 15:43, Adriaan van Os via fpc-pascal wrote:
I have an arm64 (aarch64) test program on MacOS that calls
InterlockedExchangeAdd64 with a target variable that is not 8-byte
aligned. Running the test program emits "EBusError: Bus error or
misaligned data access".
So far so good.
But n
On 2025-01-05 12:36, Hairy Pixels via fpc-pascal wrote:
On Jan 5, 2025 at 4:43:39 PM, Jonas Maebe via fpc-pascal
wrote:
That said, Darwin also uses two-level namespaces:
https://blog.darlinghq.org/2018/07/mach-o-linking-and-loading-tricks.html#two-level-symbol-namespace
. However, it does n
On 2024-12-20 14:22, Michael Van Canneyt via fpc-pascal wrote:
On Fri, 20 Dec 2024, Karoly Balogh via fpc-pascal wrote:
Hi,
On Fri, 20 Dec 2024, Michael Van Canneyt via fpc-pascal wrote:
If I compile it with:
Free Pascal Compiler version 3.3.1-16969-g798f2ba632-dirty
[2024/11/28] for
i386
I
On 2024-04-25 15:16, Mattias Gaertner via fpc-pascal wrote:
Hi Matthias,
On
https://www.freepascal.org/down/x86_64/linux-hungary.html
are links without "https://";, causing the browser to bark:
"File not downloaded: Potential security risk".
Thanks for reporting it. In addition, the Canad
On 2024-03-18 13:29, Hairy Pixels via fpc-pascal wrote:
On Mar 18, 2024, at 5:29 PM, Michael Van Canneyt via fpc-pascal
wrote:
Of course there must be, that's the whole point of copy-on-write.
As soon as one reference is changed, a copy is made if the reference
count
is larget than 1, and t
On 2024-03-14 11:06, Marco van de Voort via fpc-pascal wrote:
Op 14-3-2024 om 11:04 schreef Michael Van Canneyt via fpc-pascal:
To me it therefore seems a better idea to move the IDE to utils, and
to have a
toplevel make command that does the same as 'make all' simply without
the
utilities.
On 2024-03-14 09:34, Guillermo Martínez Jiménez via fpc-pascal wrote:
Thanks, Karoly and Marco.
I thought "packages" were libraries not applications, as there is an
"utils" directory with programs.
Well, yes, it's somewhat confusing admittedly. The IDE sources used to
be located at the higher
On 2024-02-22 15:08, Thomas Kurz via fpc-pascal wrote:
If you're using Win64, then the answer is simple: x86_64-win64 unlike
any
other x86 target does not support Extended, so neither the compiler
nor the
code in runtime will ever calculate anything with that precision.
That's another thing I
On 2024-02-20 08:03, Sven Barth via fpc-pascal wrote:
James Richters via fpc-pascal
schrieb am Di., 20. Feb. 2024, 04:42:
I don't know why it would be different in Windows than on Linux.
If you're using Win64, then the answer is simple: x86_64-win64 unlike
any other x86 target does not suppo
On 2024-01-21 13:21, Guillermo Martínez Jiménez via fpc-pascal wrote:
Hi,
I'm wondering if it is possible to make FPC detect and warn (or even
stop compillation when) it has detect a nested comment. That's because
I'm using Vim and it closes odd comments. For example, the nex code:
{ This c
On 2024-01-07 20:47, Michael Van Canneyt via fpc-pascal wrote:
On Sun, 7 Jan 2024, Adriaan van Os via fpc-pascal wrote:
.
.
There is some special handling for 1. (ending with a dot) due to
Delphi/TP compatibility, they accept it.
.
.
kr5 = 1 . e + 2;
Sam
On 2023-12-19 12:36, James Richters via fpc-pascal wrote:
Hello James,
I keep getting bit by using STRING variables then trying to store more
than 255 characters.
My typical way to fix this is to just change it to an ANSISTRING.
I'm wondering if there is any reason not to do this the other w
On November 21, 2023 8:33:55 +0100, Bo Berglund via fpc-pascal
wrote:
.
.
>Here I lost you, is SF still in use? I thought that everything moved to GitLab
>some time ago?
SF is still used for distribution of releases, see download links on FPC web
pages. This has nothing to do with migration
On 2023-09-11 11:08, Alexey Torgashin via fpc-pascal wrote:
Translation of blog post http://www.stolyarov.info/node/290 from Ru to
En.
Sep 6 2020.
Author: Andrey Stolyarov, author of Ru books about programming.
.
.
Q (reader): Judging by the state of the ticket, has success been
achieved?
A
read
them from the remaining program. As an example, TProcess (in unit
Process) provides means for all of this.
Tomas
Am Freitag, 1. September 2023, 16:13:54 CEST schrieb Tomas Hajny via
fpc-
pascal:
On 2023-09-01 15:43, Rainer Stratmann via fpc-pascal wrote:
Hello,
> Where can I fi
On 2023-09-01 15:43, Rainer Stratmann via fpc-pascal wrote:
Hello,
Where can I find the output of the error messages if a program crashes.
There is another program that still is running.
I want to read the error messages automatically if that is possible.
I'm afraid that we'd need a bit mor
On August 10, 2023 at 0:06:57 +0200, Hairy Pixels via fpc-pascal
wrote:
>> On Aug 9, 2023, at 2:54 PM, Tomas Hajny via fpc-pascal
>> wrote:
>>
>>>
>>> 1) what does "i := x - x;" do and what is it's purpose and why doesn't "x +
On August 9, 2023 at 22:14:17 +0200, Hairy Pixels via fpc-pascal
wrote:
>Playing around I had a more questions about pointer operations I've never used
>myself.
>
>1) what does "i := x - x;" do and what is it's purpose and why doesn't "x + x"
>work the same?
Pointer subtraction is a reverse op
On 2023-07-12 12:27, Thomas Kurz via fpc-pascal wrote:
I have to extend code from QuickBasic and am using the "msdos" target
from FPC 3.2 for that purpose. The resulting exe file is linked with
Microsoft Linker for DOS version 5.10. It links *.a files created both
from QuickBasic and FPC. The mem
On 3 July 2023 9:12:03 +0200, Hairy Pixels via fpc-pascal
wrote:
>> On Jul 3, 2023, at 2:04 PM, Tomas Hajny via fpc-pascal
>> wrote:
>>
>> No - in this case, the "header" is the highest bit of that byte being 0.
>
>Oh it's the header BIT. Ad
On 3 July 2023 8:42:05 +0200, Hairy Pixels via fpc-pascal
wrote:
>> On Jul 3, 2023, at 12:04 PM, Mattias Gaertner via fpc-pascal
>> wrote:
>>
>> No, the header of a codepoint to figure out the length.
>
>so the smallest character UTF-8 can represent is 2 bytes? 1 for the header and
>1 for the
On 2023-06-30 11:11, Michael Van Canneyt via fpc-pascal wrote:
On Fri, 30 Jun 2023, Hairy Pixels via fpc-pascal wrote:
On Jun 30, 2023, at 9:03 AM, Hairy Pixels
wrote:
That's why that worked. Hmm with short strings the null terminator
could be truncated when copying right? Something to l
On 2023-06-29 16:22, Mattias Gaertner via fpc-pascal wrote:
On Thu, 29 Jun 2023 21:18:44 +0700
Hairy Pixels via fpc-pascal wrote:
What is really happening in this snippet? I think it must be
implicitly taking the address of the constant string but is it also
adding the null terminator automati
On 2023-06-18 03:04, Hairy Pixels via fpc-pascal wrote:
On Jun 18, 2023, at 1:07 AM, tsie...@softcon.com wrote:
This is interesting, because it's the first time I've ever seen
"break" as a valid command in pascal, and I've been using pascal since
the mid/late 80s. All kinds of dialects too, a
On 17 June 2023 20:45:49 +0200, Jean SUZINEAU via fpc-pascal
wrote:
>Le 17/06/2023 à 20:07, Travis Siegel via fpc-pascal a écrit :
>> Is this a relatively new addition to fpc or something?
>
>I 've just found it in my Delphi 7 code (and code very likely written for
>Delphi 4), so I think it's th
On 2023-06-16 13:46, Giuliano Colla via fpc-pascal wrote:
Il 16/06/23 13:36, Peter B via fpc-pascal ha scritto:
Yes. Assigning a 64bit integer to a 32bit one is fine as long as the
range is within bounds.
Range of a variable can only be checked at run time.
I can understand that. But the com
On 14 June 2023 20:59:41 +0200, "Rafael Picanço via fpc-pascal"
wrote:
Hi Rafael,
>I am trying to follow your advice and use units instead:
>
>const
> EXTERNAL_DEV_NONE : TGetExButtonStatesFunction = Pointer(0);
>
>However I am receiving an error:
>
>Error: Incompatible types: got "Pointer" e
On 2023-04-20 00:34, Ralf Quint via fpc-pascal wrote:
On 4/19/2023 1:06 AM, Markus Greim via fpc-pascal wrote:
.
.
A native Oberon0 to Propeller ASM compiler would be fine, but maybe
it would be easier to write first an Oberon0 to PropForth compiler.
What does Oberon and Forth have to do w
On 2023-04-18 11:12, Elmar Haneke via fpc-pascal wrote:
Just my comments on IRC-Channels.
.
.
Thanks for your input, but as already suggested previously, everybody
interested in this topic should preferably use the fpc-other mailing
list to keep this one available for discussion related to
On 2023-04-14 16:25, Steve Litt via fpc-pascal wrote:
Hi all,
As I predicted, here's what happened to me on #fpc:
==
Joanna sets ban on $a:stevelitt
* You have been kicked from #fpc by Joanna (sorry i cant share a
channel with you after what you s
On 2023-04-14 09:43, Michael Van Canneyt via fpc-pascal wrote:
Hi,
.
.
I've been contacted as well by email.
I received a similar story, and after reading it I believe she (she
confirmed it is a female name) is sincere in her wish to keep the
channel free from trolls, so it appears to me (a
On 13 April 2023 22:08:58 +0200, "Vojtěch Čihák via fpc-pascal"
wrote:
Hi,
>I'm almost fourteen years on the forum and a few years less on mailing lists
>and I never had a single problem.
>I don't attend IRC so I can't say what's wrong there.
>OTOH I read Joanna's comments on the forum and th
On 2023-04-13 11:23, Jacob Kroon via fpc-pascal wrote:
Hi Jacob,
.
.
Ok, maybe this "Joanna" is on this mailing list and would care to
elaborate more why I got banned ?
The same "Joanna" also kicked me out of the channel a couple of days
ago with the reason that "we don't allow lurkers", si
On 2023-04-04 16:14, Bart via fpc-pascal wrote:
On Tue, Apr 4, 2023 at 9:43 AM Jacob Kroon via fpc-pascal
wrote:
What is the technical downside to using "const", or is it just
cosmetic ?
If your local "writeable constant" is of type string, and strings are
longstrings, and the writeable cons
On 2023-04-04 11:14, Sven Barth wrote:
Tomas Hajny via fpc-pascal schrieb
am Di., 4. Apr. 2023, 09:51:
.
.
If you read the documentation (wiki or the real documentation in
PDF/HTML etc.) properly, you don't find there anything saying that
constants declared locally within functio
On 2023-04-04 09:43, Jacob Kroon wrote:
Hi Jacob,
You don't need to change "var" to "const" - if you want to ensure the
variables to persist in between the function/procedure runs, you need
to move them to the global level, i.e. outside of the
functions/procedures. It is not advisable as a g
On 2023-04-04 08:16, Jacob Kroon via fpc-pascal wrote:
Hi Jacob,
.
.
But I suspect I have a new problem: With the old Pascal/MT+ compiler
it would appear that local variables declared in functions/procedures
have a life-time that spans the whole program, like a "static"
declared variable in
On 2023-03-30 10:08, Bo Berglund via fpc-pascal wrote:
On Thu, 30 Mar 2023 10:02:49 +0200, Tomas Hajny via fpc-pascal
wrote:
.
.
I'd suggest trying to switch to external linking (for both versions) -
that might help...
Could you be more specific?
I have never heard of such, I am
On 30 March 2023 9:36:35 +0200, Marco van de Voort via fpc-pascal
wrote:
>On 30-3-2023 07:38, Bo Berglund via fpc-pascal wrote:
>> The problem seems to be that neither is a valid COFF file according to my Fpc
>> (or Lazarus) in any case. Both generate the COFF error when reaching the
>> linker
>
On 2023-03-28 11:33, Karoly Balogh via fpc-pascal wrote:
Hi,
.
.
You might wanna consider this approach, because if units somehow end up
cross-referencing each other, then you might run into difficulties
restructuring the code to use Units. Also, it is possible to
cross-reference units from
On 2023-03-27 11:45, Jacob Kroon via fpc-pascal wrote:
Hi,
I have some old Pascal code that was compiled in a CPM environment
using the Pascal/MT+ compiler from Digital Research. I'm trying to get
this project to build in a modern environment, for a start using
FreePascal.
First, is anyone aw
On 2023-03-23 09:25, Bo Berglund via fpc-pascal wrote:
I tried to add a cross-compiler for Win32 to my existing Lazarus 2.2.4
installation on Windows 10 x64.
.
.
Then opened Lazarus 2.2.4 with my project and changed project options
as
follows:
Compiler_Options/Config_and_Target/Target OS(-T
Hello everybody,
Could we get back on topic, please? Discussion of strengths and
weaknesses of SQL and/or other database technologies and their history
(especially if primarily focusing subjective feelings of different
authors rather than use of these database technologies together with
FPC)
On 29 December 2022 13:31:57 +0100, Anthony Walter via fpc-pascal
wrote:
Hello Anthony,
.
.
>I suggest you either brush up on these subjects or refrain from scolding
>people on subjects with which you have no practical experience.
You asked for feedback and you got it. Please, stop attacking
On 2022-11-03 08:58, Luca Olivetti via fpc-pascal wrote:
El 2/11/22 a les 17:06, Tomas Hajny via fpc-pascal ha escrit:
I see. This means that you already have the prerequisites fulfilled in
the source tree for Linux, but not for Windows. Start by issuing 'make
rtl_all packages_all&
On 2022-11-02 16:40, Luca Olivetti via fpc-pascal wrote:
El 2/11/22 a les 15:54, Tomas Hajny via fpc-pascal ha escrit:
OK, the problem is that I installed the compiler with the windows
installer and the makefile expects it to be in its tree (hence the
"-n" and the "-Fu"
On 2022-11-02 15:25, Luca Olivetti via fpc-pascal wrote:
El 2/11/22 a les 9:37, Luca Olivetti via fpc-pascal ha escrit:
IIRC I did it in the past but now:
D:\fpc-3.2.2\packages\fcl-web>make
C:/FPC/3.2.2/bin/i386-Win32/ppc386.exe fpmake.pp -n -Fu../../rtl
-Fu../../packages/paszlib -Fu../../pack
On 2022-09-12 21:12, Terry A. Haimann via fpc-pascal wrote:
Hello Terry,
I personally think it can't find the assembler. I did test this on my
desktop and it compiled w/o error.
No, but the installed assembler doesn't know the "softvfp" FPU type
apparently specified in the compilation opti
On 2022-09-12 21:41, Nikolay Nikolov via fpc-pascal wrote:
On 9/10/22 17:57, James Richters via fpc-pascal wrote:
Thanks for the suggestion
I think the syntax should be:
type myKeyEvent = IPTCKeyEvent;
Var myShiftStatus : boolean;
myShiftStatus := myKeyEvent.Shift;
but I get IPTCKeyEvent not
Sorry, one additional thought - it's better to choose a directory
without spaces when installing the LLVM package (i.e. not to accept the
default proposal "C:\Program Files\..."), or at least let the installer
change the PATH variable for you (which is not checked by default).
Tomas
On 2022-06-25 10:58, Wolfgang Hubert via fpc-pascal wrote:
Hi Wolfgang,
if you already have your FPC 3.2.2 installation, plus installation of
an external package (LLVM). All of it rather feasible. Yes, you may
possibly encounter some issues with the current port to this target
(aarch64-win64
On 2022-06-24 09:02, Wolfgang Hubert via fpc-pascal wrote:
Hi Wolfgang,
thank you for your thoughts and suggestions on this topic.
Tomas Hajny wrote:
I may be wrong, but I believe that the original poster meant that he
was using a "regular" (32-bit) version of WinXP on x86 and wanted to
cro
On 2022-06-23 19:58, Travis Siegel via fpc-pascal wrote:
There actually is a 64-bit version of xp, but it's not compatible with
very much. Apparently, it didn't have an emulator in it, so running
32-bit software wasn't something it did by default. I never did
figure out if it could be made to r
On 2022-06-21 20:01, Sven Barth wrote:
Tomas Hajny via fpc-pascal schrieb
am Di., 21. Juni 2022, 18:08:
Hi Sven,
.
.
I just tried to follow the advice above. Compiling the
cross-compiler
(Win32 hosted) is no problem using the fullcycle target (obviously,
I
could build just the particular
On 2022-06-21 00:14, Pierre Muller via fpc-pascal wrote:
Le 20/06/2022 à 23:53, Sven Barth via fpc-pascal a écrit :
Am 20.06.2022 um 12:34 schrieb Wolfgang Hubert via fpc-pascal:
Hi Pierre (and others ;-) ),
.
.
Windows on AArch64 is currently only supported in main thus you need
to
comp
n the suggested approach should fit well, IMHO.
Tomas
On 28.05.22 14:34, Tomas Hajny via fpc-pascal wrote:
On 2022-05-28 13:44, Benito van der Zander via fpc-pascal wrote:
Hi,
I want to show how my program was compiled.
Now I have string like "FPC3.2.2 i386-Linux R+C+" from
c
On 2022-05-31 11:22, Liam Proven via fpc-pascal wrote:
On Tue, 31 May 2022 at 04:12, Steve Litt via fpc-pascal
wrote:
A truly great language would be Turbo Pascal 5.5 (with OOP) plus
function/procedure references.
Oberon?
https://en.wikibooks.org/wiki/Oberon
Please, everybody - this strea
On 2022-05-28 13:44, Benito van der Zander via fpc-pascal wrote:
Hi,
I want to show how my program was compiled.
Now I have string like "FPC3.2.2 i386-Linux R+C+" from
compiler := 'FPC' + {$INCLUDE %FPCVERSION%} + ' ' + {$INCLUDE
%FPCTargetCPU%}+'-'+{$INCLUDE %FPCTargetOS%}+ ' ' + {$IfOpt
On 2022-04-13 00:34, denisgolovan via fpc-pascal wrote:
Hi Denis,
I've been maintaining a set of private patches for some quite old FPC
revision for some years.
.
.
My first trouble is initialization of dynamic arrays with constant
arrays.
It looks like simply building one version of comp
On 2022-03-24 20:47, Santi via fpc-pascal wrote:
El 23/03/2022 a las 10:51, Mattias Gaertner via fpc-pascal escribió:
FPC does not yet understand comments,
What do you mean with "understand comments"?
Mattias meant that comments were the only place where information about
use of CP1252 was
On 2022-02-07 13:20, James Richters via fpc-pascal wrote:
I'm trying to use TCSVDocument,
I have:
Uses Math,sysutils,Classes,CSVReadWrite;
That seems to be fine,
But I get an error 1D.pas(18,17) Error: Identifier not found
"TCSVDocument"
On a line:
Var
CSVData : TCSVDocument;
Do I n
On 2021-11-22 16:21, Jonas Maebe via fpc-pascal wrote:
On 22/11/2021 16:02, Bo Berglund via fpc-pascal wrote:
This is what happens when I execute the first make command inside the
fpc source
dir:
~/devel/fpc/3.2.2$ make clean
make: -iVSPTPSOTO: Command not found
/usr/bin/rm -f build-s
source file is in UTF-8, you need to let the compiler know about
this. You can do so by using the compiler option -Fcutf8 (or by using
the BOM, but the explicit option is the safest).
Tomas
On 15.09.2021 16:53, Tomas Hajny via fpc-pascal wrote:
On 2021-09-15 15:08, Abuy via fpc-pascal wrote
On 2021-09-15 15:08, Abuy via fpc-pascal wrote:
Instead of cyrillic characters there some garbage in Windows event
viewer. Have tried AnsiString with Windows-1251 code page (type
StringCP1251 = type AnsiString(1251)) but this does not work. What
works is RawByteString variable with the following
On 2021-07-06 22:37, Jean Pierre CASSOU via fpc-pascal wrote:
https://sourceforge.net/projects/freepascal/files/Source/3.2.2/
Missing install.sh
This file is included in the fpcbuild package (either zip, or tar.gz),
in particular in subdirectory "install".
Apart from that - I assume that yo
On 2021-06-16 23:49, Jean SUZINEAU via fpc-pascal wrote:
My best score is 67 kb after strip -s with the code below ... ;-)
Of course it will not work on every version of Windows.
program uptime;
function GetTickCount64: QWord; stdcall; external 'kernel32.dll';
function _2d( _i: Integer): Str
On 2021-06-16 11:38, Marco van de Voort via fpc-pascal wrote:
Op 2021-06-16 om 11:21 schreef Tomas Hajny via fpc-pascal:
Or if they contain $R inclusions.
...or many other things which may not be smartlinked, either because
it is not possible, or because the compiler and/or linker cannot do
On 2021-06-16 10:58, Marco van de Voort via fpc-pascal wrote:
Op 2021-06-16 om 09:16 schreef Mattias Gaertner via fpc-pascal:
On Wed, 16 Jun 2021 08:57:13 +0200
Bo Berglund via fpc-pascal wrote:
If I by habit add a bunch of often used units to the uses clause will
that affects the size of the
On 2021-06-16 09:16, Mattias Gaertner via fpc-pascal wrote:
On Wed, 16 Jun 2021 08:57:13 +0200
Bo Berglund via fpc-pascal wrote:
If I by habit add a bunch of often used units to the uses clause will
that affects the size of the compiled application even if they are
not in fact used?
Yes, if
On 2021-05-18 18:01, Bo Berglund via fpc-pascal wrote:
On Tue, 18 May 2021 16:20:29 +0100, Henry Vermaak via fpc-pascal
wrote:
On Tue, 18 May 2021 at 11:50, Sven Barth via fpc-pascal
wrote:
I don't think we need to mention any specific clients (and why did
your list not include Filezilla? :
On 2021-05-18 10:38, Michael Van Canneyt via fpc-pascal wrote:
On Tue, 18 May 2021, Graeme Geldenhuys via fpc-pascal wrote:
On 17/05/2021 3:13 pm, Karoly Balogh via fpc-pascal wrote:
I'd actually keep
FTP enabled, as it doesn't hurt anything and it's still a thing for
retro
downloads.
Not
On 2021-05-15 00:25, Bo Berglund via fpc-pascal wrote:
On Wed, 12 May 2021 12:42:14 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
So right now I try to read up on how to actually handle the mime
object here...
And I had an additional question:
Does Synapse throw exceptions when e
On 2021-04-29 09:00, Mattias Gaertner via fpc-pascal wrote:
On Thu, 29 Apr 2021 07:52:19 +0200
Sven Barth via fpc-pascal wrote:
[...]
You completely ignored my first point, which in this case is the much
more significant one: Pascal does not support type inference.
FPC does not.
Delphi does:
On 2021-04-09 19:56, Guillermo via fpc-pascal wrote:
Hi,
> I'm doing DOS development for fun and, after installing the compiler
> (was quite hard), I'm having problems handling interrupts.
>
> I started with keyboard and it doesn't work. The handler declaration:
>
> procedure DOS_KbdHandler; i
On 2021-04-06 14:43, James Richters wrote:
Is there any documentation or a sample program for TDirListBox? I
tried doing a search but only found a page that showed it's functions
and procedures, but no real explanation on what they are supposed to
do.
The functionality is used within the text
On 2021-04-06 12:29, James Richters via fpc-pascal wrote:
Does FPC include any tools to display a directory tree, similar to the
way
files and folders are normally displayed, but I want to make my own
custom
entries. Have the branches expand and collapse etc..
It doesn't have to be graphical,
On 2021-03-22 12:35, Norman Dunbar via fpc-pascal wrote:
> On 21/03/2021 12:07, Tomas Hajny via fpc-pascal wrote:
Hi Norman,
>> The page https://wiki.freepascal.org/System_unit_structure (referred
>> to from the 'RTL development articles' appearing on the 'FPC
On 2021-03-21 10:23, Karoly Balogh via fpc-pascal wrote:
On Sat, 20 Mar 2021, Norman Dunbar via fpc-pascal wrote:
Hi,
.
.
It would be helpful to beginners like me, trying to look around and
fix/implement stuff. I've been all over the Wiki and found this page,
https://wiki.freepascal.org/FP
On 2021-03-09 09:46, Graeme Geldenhuys via fpc-pascal wrote:
On 09/03/2021 1:44 am, Tomas Hajny via fpc-pascal wrote:
UnicodeString may be used in a program simply because the included
unit
has it used in its interface. That may be the case even if there's no
use of characters outside
On 2021-03-09 01:01, Graeme Geldenhuys via fpc-pascal wrote:
On 08/03/2021 2:49 pm, Michael Van Canneyt via fpc-pascal wrote:
In that sense, unicode conversion support is something optional and so
we
require you to enable it explicitly, since enabling it has some
drawbacks:
Surely if you expl
On 2021-03-08 21:36, Martin Frb via fpc-pascal wrote:
.
.
In the example the index access should have returned a single
codeunit, which was known to be a complete codepoint.
As far as I understand the unexpected part was, that the unicode
string did not contain the content of the string constan
On 2021-03-08 15:49, Michael Van Canneyt via fpc-pascal wrote:
On Mon, 8 Mar 2021, Adriaan van Os via fpc-pascal wrote:
Michael Van Canneyt via fpc-pascal wrote:
You didn't configure your environment to deal correctly with Unicode.
Wow ! what a sentence !
That sounds like "you didn't config
On 2021-03-08 11:59, Adriaan van Os via fpc-pascal wrote:
Hi,
adriaan% cat uniquizz-utf8.pas
{$codepage utf8}
program uniquizz;
var
chars: UnicodeString;
begin
chars := '⌘ key';
writeln(chars);
writeln(chars[1]);
writeln( 'size ', sizeOf( chars));
writeln( 'length ', length( char
On 2021-02-20 17:15, Tomas Hajny wrote:
On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote:
CSlemaker via fpc-pascal schrieb am
Sa.,
20. Feb. 2021, 09:48:
Hello everybody,
Please, note that the original poster (in Cc: now, so that he doesn't
miss the response from Sven below) isn't subs
On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote:
CSlemaker via fpc-pascal schrieb am
Sa.,
20. Feb. 2021, 09:48:
Hello everybody,
Please, note that the original poster (in Cc: now, so that he doesn't
miss the response from Sven below) isn't subscribed to fpc-pascal, make
sure to inclu
On 2020-12-26 15:45, gabor via fpc-pascal wrote:
W dniu 2020-12-22 o 04:57, Nikolay Nikolov via fpc-pascal pisze:
.
.
Very interesting. But in a future version of the FV (or other TUI
framework) apart from migrating from objects to classes, using
component streaming, collections, etc... it
On 2020-12-20 11:56, Sven Barth via fpc-pascal wrote:
Am 20.12.2020 um 05:26 schrieb Jean SUZINEAU via fpc-pascal:
I know you don't like objects, but maybe something like :
Using modeswitch AdvancedRecords that also works with record types.
And I'd suggest a case-statement as well. Anything
On 2020-12-20 14:00, Jonas Maebe via fpc-pascal wrote:
On 20/12/2020 13:01, Luca Olivetti via fpc-pascal wrote:
El 19/12/20 a les 23:15, Jonas Maebe via fpc-pascal ha escrit:
It is indeed not possible to implement a function with C varargs in
FPC.
I was afraid that's the answer :-(
as an ugl
On 2020-12-02 16:01, LacaK via fpc-pascal wrote:
Dňa 2.12.2020 o 13:55 Tomas Hajny via fpc-pascal napísal(a):
On 2020-12-01 11:39, Ladislav Karrach via fpc-pascal wrote:
Because MyConst1 is not an *untyped* constant. Only untyped
constants can be used in constant expressions (a pointer to
On 2020-12-01 11:39, Ladislav Karrach via fpc-pascal wrote:
Because MyConst1 is not an *untyped* constant. Only untyped constants
can be used in constant expressions (a pointer to something can be
considered an untyped constant).
The following might work though I did not test it:
=== code b
On 2020-11-20 09:32, Graeme Geldenhuys via fpc-pascal wrote:
On 20/11/2020 7:04 am, Sven Barth via fpc-pascal wrote:
a way to convert the
option list to TConsoleApplication's argument handling so that one
doesn't
have to declare that twice.
Oh, I really like that idea. I'll make sure to incl
On 2020-11-06 23:54, Ched via fpc-pascal wrote:
Dear All,
I have some difficulties using the crt unit.
For what I can see, https://bugs.freepascal.org/view.php?id=32558
could well be the answer, specialy a call like SetUseACP(False); . At
the end of the bug report, it is said that the crt unit
On 2020-09-22 14:46, dano none via fpc-pascal wrote:
Hello,
I have a basic shuffle routine. I put being, end statements in the
outer loop for clarification.
It ended up producing random results.
Commenting out the begin, end combination allows the code to run as
expected.
My code is below, c
On 2020-09-21 14:44, Marco van de Voort via fpc-pascal wrote:
Op 2020-09-21 om 13:44 schreef LacaK via fpc-pascal:
are supported in -Fu (unit search path) networks paths? i.e.
-Fu\\server\share -Fu\\server\share\path ?
Correction: unit cannot be found only if it is placed in "share
root" \\se
On 2020-09-14 16:09, Michael Van Canneyt wrote:
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote:
application (let's say notepad.exe) will result in garbage. I don't
say that it is necessarily bad, but it should be documented at least
if we want to keep it that way.
I would
On 2020-09-14 16:09, Michael Van Canneyt wrote:
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote:
application (let's say notepad.exe) will result in garbage. I don't
say that it is necessarily bad, but it should be documented at least
if we want to keep it that way.
I would
On 2020-09-14 14:51, Michael Van Canneyt wrote:
On Mon, 14 Sep 2020, Tomas Hajny via fpc-pascal wrote:
opened:
{$ifdef FPC_HAS_FEATURE_ANSISTRINGS}
{ if no codepage is yet assigned then assign default ansi codepage
}
TextRec(t).CodePage:=TranslatePlaceholderCP(TextRec(t).CodePage
1 - 100 of 115 matches
Mail list logo