fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Call for testing: array constructors8
Hello together! Since revision 36105 FPC now supports the use of array constructors using the "[...]" syntax inside ordinary code blocks like Delphi does since - I think…
- machine readable grammar of object pascal?18
for playing around I would need a grammar of Object Pascal. I do not care for which tool it is written or at best if it is plain EBNF. Does such grammar exist? Marc
- SimpleIPC examples in docs9
I thought I remember some simpleipc examples in the documentation a while ago (years ago).. Can't seem to find them in the current docs. Were they moved elsewhere or did…
- Record operator for assignment17
Instead of making constructors and doing busy work It would be nice if Free Pascal could let you assign records outside of type blocks like: rec := (x: 0; y: 0; z: 0);…
- simpleIPC for all programming languages ?1
I was thinking, that I need a way to use IPC (inter process communication) in all languages, so for example I could compile a plain C exe, Delphi exe, Rust exe, Nimrod…
- simpleIPC strings1
With simpleipc you can send a string. I am wondering what type of string is safe to send? i.e. what happens with utf8 or unicode? Is it meant to send a regular string…
- Translation C to Pascal3
since fpc supports a lot of intresting SoCs and Microcontrollers - has anyone really used Allwinner A20? - I need an update: Which translator do you use for making…
- silly question2
I am have FPC v. 2.6.2 installed on linux/ubuntu server A. I am sure I did some change to zeos library in server A, but I cannot remember details. I'd like to have the…
- Interfaces works in FPC 2.6.4 but not in 3.0.21
I have CORBA style interfaces. My projects using them work perfectly in FPC 2.6.4, but if I compile the project with FPC 3.0.2, I never get a interface reference. My…
- Free Pascal Setup3
When I download the Free Pascal I get a file called i386-win32-ppc386.zip which contains 1 file called ppc386.exe which does not contain the Setup system for the Free…
- Patch for fpimage.inc2
I received notification of a patch (pull request) via my FPC Git mirror. The author has been notified to rather use Mantis, but seems to have some troubles registering.…
- Freevision etc.9
I've not used Freevision/Turbovision before, but am experimenting with James Clarke's DialEdit as an experiment to see whether I can create a fallback user interface for…
- importtl and ignored [out, retval] parameters1
I wanted to import the UIAutomationClient type library. Thus I compiled the UIAutomationClient.idl to .tlb and then used importtl to convert it to pascal. Importtl…
- Can fpdoc insert macro values or compiler version information?2
Does FPDOC have the ability to inject the compiler version into RTL and FCL documentation? Something like FPC's macro variables or something. eg: in the RTL Package…
- FPC Project of the Month at SourceForge1
For the second time, the Free Pascal Compiler has been elected "Community Choice" Project of the …
- Advantage Tdataset Components: Compilation error1
When i compiling adsl.lpk: Compile package adsl 10.10: Exit code 1, Errors: 1, Warnings: 15, Hints: 1 adsdesign.pas(50,5) Warning: Illegal identifier "UNSAFE_TYPE" for…
- outtextXY not moving pointer1
I am using a combination of outtext and outtextxy for an application using the graph unit on Windows. I am noticing that outtextxy is not moving the pointer to the end…
- Is there some disadvantages using mode Delphi?10
I would like to write some packages that should work in FPC and Delphi. I know that I will need to use {mode delphi} to do that. My ask is: Is there some disadvantages…
- Cross compile linux->solaris?1
Thought it would be fun to test a little cgi web programming. The server tha hosts my website returns this (on unam -a): SunOS aklathep 5.10 Generic_150401-49 i86pc i386…
- Correct syntax for initialized constants/variables4
I try to include some initialized constants/variables in an application of mine, but somehow stumbled upon a stupid little problem that I can't figure out myself after…
- WebAssembly Target60
Is there something planned in this matter for FPC? I was reading about the new Firefox making WebAssembly publicly available ("On Tuesday Firefox 52 became the first…
- Can class function used in specialized class use intristic functions Low, High with generic type ?4
I have some generic class: generic T2DNumericArray<T> = object(specialize T2DArray<T>) public class function Truncate(Value: double): T; inline; ... In class function…
- 32-bit random numbers2
Am I correct in interpreting the documentation as implying that if I want to get a full-range 32-bit unsigned random number I have to use something like…
- Use a procedural type for declare a procedure\function2
Why can't use procedural type for declare a procedure\function? Why ever allow the exact same signature? It's uncomfortable Maybe it makes sense to introduce into the…
- Coroutines and VirtualAlloc28
I was curious about possible ways coroutines could work in FPC and found this example that claims to implement just that. It appears to be designed for Windows though…
- AArch64 / Linux2
me again trying new platforms :=) I now have two machines running Linux on 64-bit ARM. So I wonder, what's the best way to get FPC 3.0.2 running natively on AArch64 and…
- GUI multithreaded Win32 program sometimes freeze when quitting2
I have an win32 multithreaded program written in lazarus 1.7, FPC 3.1.1 From time to time, when it quits, it will freezes and from the task manager, the program will…
- Get value of PPChar ?15
Hello. A C method is defined like this: MPG123_EXPORT int mpg123_icy(mpg123_handle *mh, char **icy_meta); and translated in Pascal with this: function mpg123_icy(mh:…
- Array clearing64
As far as the compiler is concerned what’s the difference between clearing an array using a for-loop vs. FillChar? It seems like iterating the array would be slower…
- Hash List9
Ia there any hash list implementation in free Pascal? Ghashmap has no documentation. Is it stable for production use? Regards
