fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Procedures that work like WRITELN()8
I wanted to write what I thought should be a simple procedure, just instead of calling WRITELN() with some arguments, call WRITELOG() with the same arguments that you…
- More syntax questions (part 3)20
More questions about the FreePascal Language Reference (version 3.2.0) part 3 26. Am I correct to assume the following equivalents for rules that I couldn't find a…
- case statement24
I am looking in detail at the syntax diagrams in the Freepascal Language Reference (version 3.2.0) Section 13.2.2 discusses the case-statement. Translated to EBNF (WSN)…
- More syntax questions (part 4)5
More questions about the FreePascal Language Reference (version 3.2.0), part 4 34. Are macpas LEAVE and CYCLE statements undocumented ? 35. Are macpas ellipsis (...)…
- Lazarus Release 3.00
The Lazarus team is glad to announce the release of Lazarus 3.0. This release was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal:…
- Double finalize6
I feel like this was addressed but I couldn't find any references. The program below prints the following: Initialize Create Finalize Finalize Why is Finalize called…
- inherited0
Sections 5.5.2 and 6.6.8 of the FreePascal Language Reference discuss the "inherited" keyword, but I couldn't find it in the syntax diagrams. Sections 12.2 and 13.1.2.…
- string-type1
Section 3.2.4 of the FreePascal Language Reference defines <string-type> string-type = "STRING" [ "[" unsigned-integer "]" ] | "TYPE" ( "STRING" | "ansistring" ) "("…
- Strings greater than 255 characters4
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…
- Labels2
According to Section 13.0 of the FreePascal Language Reference (version 3.2.0) "A label can be an identifier or an integer digit." What may be meant is that a label can…
- method-definition5
I am puzzled by the syntax rule <method-list> in Chapter 6. Classes of the FreePascal Language Reference (version 3.2.0) Section 6.1 Class definitions has…
- More syntax questions (part 2)2
More questions about the FreePascal Language Reference (version 3.2.0) part 2 17. For the following rules, I couldn't find a definition in the Language Reference. Can I…
- More syntax questions (and more to follow)3
More questions about the FreePascal Language Reference (version 3.2.0) 1. Section 17.1 defines a rule <raise-statement> and <exception-address> raise-statement = "raise"…
- implementation-part1
The Freepascal Language Reference (version 3.2.0) states in section 16.2 "As can be seen from the syntax diagram, a unit always consists of a interface and an…
- Does the compiler make prodigious use of use ENTER instruction?4
Iwas reading this article today on the Microsoft website about the mysterious x86 ENTER instruction. The article states that it's primary purpose is to support Pascal…
- Error when building fpc on aarch64-linux still not resolved2
I tried to post this to the devel list but it seems to have failed so now trying the general list instead... See ticket:…
- what is release plan for fpc?2
I am sorry if this is not the right mail list to ask the question. I am helping to build fpc package on Debian riscv64 and found that:…
- Question regarding building fpc from sources2
I have for many years been building my Linux versions of fpc and lazarus from sources downloaded first from the svn repository and later from github. When doing the…
- Cannot build fpc on Raspberry Pi4B running PiOS 64 bit (aarch64 Linux)8
The GitLab ticket was opened 2 years ago: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295 According to a post on the Lazarus forum the fix that solves the…
- Setenv is not Thread Safe (libc)0
Beware of using GetEnv / SetEnv in threads: https://www.evanjones.ca/setenv-is-not-thread-safe.html
- TPath enhancements (Issue #40513): can somebody test with Delphi 12?11
I'm trying to implement the new features that were added in Delphi 12 to TPath. I've made a naive implementation based upon available documentation. Some questions about…
- Cmdline parser0
Hi all Could anybody suggest some existing command line parser for FPC having following requirements: 1. Crossplatform with stable semantics - Linux/Windows. 2. Short…
- fcl-web websocket1
do somone know how to enable ssl with the websocket semod fcl-web/examples/websocket/server/wsserver fcl-web/examples/websocket/client/wsclient the client working fine…
- Incompatible procedure types3
What does this error mean? It's comparing a pointer to a procedure to a procedure variable (a callback). The signature appears exactly the same…
- Difference between string and Tbytes as procedure arguments?3
I am maintaining an old utility program that started out about 20+ years ago using Delphi7. The utility communicates via RS232 with a measuring system in order to…
- Creating capturers10
I'm curious how the capturer is created in the case of anonymous functions. I know the function needs to create a capturer when nested functions are declared but what…
- Compiler probem?2
Hi, I have a question about some code. The following code segment generated a compiler error when I compiled it with... fpc Sample -Se -gl -al but not when it's compiled…
- Serial connection via TCP/IP sockets on RPi?5
I am wondering if there is already available what I am needing? My situation is the following: I have a remote installation of a measuring equipment, which communicates…
- Running FPC in the browser...3
Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile itself to webassembly (the support for the goto statement made this possible). As a…
- fcl-pdf custom font from memstream8
How to load a custom font from a stream instead of from a file? Mattias
