fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Thread Variables Initial Values2
The documentation is not clear about the initial values of thread variables: *"If threads are used then a copy is made for each thread (including the main thread). Note…
- https how does it work4
How does httpy work, what is needed? TLS/SSL library? A http webserver without encryption I programed already on my own and wanted to integrate https. Is there any…
- Adding a array of float in ressource and use it ?36
Hello. Is it possible to add a array of float into ressource ? For example, there is myarray : array of cfloat. Is it possible to store that array myarray ressource and,…
- Annual inform1
Annual inform: I am programming LibreN3D for 3D animations, and some other projects in FreeDOS and other systems, but these three past years they really were standing…
- how to determine if a class has descendant registered within the current program4
I have a many classes, one inherits from another one, in an ancestor method, I want to test whether the calling class is a childless class. e.g. class function…
- Warning for anybody else using Linux Mint Debian ('Betsy')3
Upgrading to Lazarus 1.6.4 and FPC 3.0.2 as obtained from SourceForge breaks things irretrievably on Linux Mint Debian 64-bit running on an AMD Phenom x2 system. I first…
- Re: lldb problems with Xcode 8.2.10
I have upgraded to FPC 3.0.2 and added in the Xcode 8.3 beta. I am able to see local variables when pausing the program. I am still unable to get breakpoints working. …
- Incomplete code example in FPC docs0
http://www.freepascal.org/docs-html/rtl/typinfo/ispublishedprop.html According to the above URL, that code example is not compilable as-is, because TMyTestObject is not…
- Feature announcement: Management Operators14
I'm pleased to finally announce (again but now officially ;) ) the additional record operators: Initialize, Finalize, AddRef and Copy. Available in latest FPC trunk…
- class operator in record5
How come: class operator Initialize(var aFoo: TFoo); class operator Finalize(var aFoo: TFoo); in a record are called class operator.. why not "record operator"? Are…
- FPC 3.0.2 released!9
Finally, FPC 3.0.2 has landed. FPC 3.0.2 is an update to 3.0.0 that contains some compiler bugfixes and library progress since 3.0.0 Building is still in progress and…
- Manual sources? Some doc questions.3
I couldn't find the source for the manuals, e.g. [prog.pdf]( http://www.freepascal.org/docs.var). Does someone know where I can find them? Some other questions: - In…
- 3.0.0 for 3.0.31
Why do I need fpc 3.0.0 to build 3.0.3? Shouldn't that be 3.0.2? Mattias
- $IFDEF with multiple symbols?1
Can I use this to make a conditional compilation? {$IFDEF charlie, oscar} {$ENDIF} Where I want main to be included if one or both of charlie and oscar are defined…
- Array of const and generics3
Is it possible to use array of const inside of generics? Quick example I just typed up. If you specialize the generic the compiler always complains about the type in…
- Run Time Type Info - are the type names of all classes defined in a unit stored in the RTTI?3
Programmatically, I want to make a list of all Classes defined in the unit. Is this info stored in the RTTI or anywhere else? Thanks in advance. Dennis
- Lazarus Release 1.6.40
The Lazarus team is glad to announce the release of Lazarus 1.6.4. This is a bugfix release. This release was built with FPC 3.0.2. The previous release Lazarus 1.6.2…
- MSEide+MSEgui 4.4 for Free Pascal 3.0.26
MSEide+MSEgui 4.4 for Free Pascal 3.0.2 has been released: https://sourceforge.net/projects/mseide-msegui/ There are also new versions of the ARM (Raspberry Pi) cross…
- TProcess usage and reading program output7
Can anybody see if there is something wrong with the code shown below. The code is copied from one of my earlier projects where I call the FPC compiler and it worked…
- parser combinator library1
Eight years ago someone asked whether there is a parser combinator library for free pascal, nothing like that existed at that time and also does not seem to exist up to…
- lldb problems with Xcode 8.2.13
I am experiencing some LLDB problems in macOS Sierra 10.12.3 with Xcode 8.2.1. Its running the LLVM compiler with FPC 2.6.4. I can no longer get breakpoints to…
- pyacc and using hexadecimals in the code0
I would like to use hexadecimal values in a pyacc script. However, when doing so pyacc thinks I am using a rule assign (or whatever the correct term is) eg $$ := $1 as…
- Typecast class-of to class2
FPC allows to type cast a class-of variable to a class instance. Is this a bug or a feature? var c: TClass; begin TObject(c).ClassName; // crash end. Mattias
- Castle Game Engine 6.0 released0
We're proud to release Castle Game Engine 6.0, an open-source 3D and 2D game engine for Object Pascal. This release is a culmination of more than a year of intensive…
- Writeln in threads2
Is writeln thread safe? I’m getting some strange crashes and I’m curious if they’re related to calling writeln on multiple threads. Ryan Joseph
- GetEnv and large strings.1
I am using Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86-64 I created a…
- uses myunit in '../src/myunit.pas' ?45
Hello. There is myprogram.pas in /home/me/myproject/example. This program uses myunit.pas from /home/me/myproject/src. myunit.pas uses myunit2.pas and myunit3.pas that…
- TProcess interacting with Octave 4.2 on Win320
I am having trouble reading/writing to Octave through a TProcess on Win32. Full source and primitive demo here:…
- Overriding generic methods2
Is overriding methods from specialized generic classes supported in any way? I tried the following below but it doesn’t seem to work. type generic TList<T> = class…
- KeyDown routine and Ctrl+Q6
I use a KEYDOWN routine in my main TFORM to check for the key Ctrl+Q: ----------------------------------------------------------------- procedure…
