fpc-pascal
Subscribe to this list Your subscription
Latest threads
- instance memory usage2
from testing a while ago I remember the following: The memory used by a class instance is composed of 1. the size ".instanceSize()" gives back 2. the memory used by…
- Where can I download the fpc 3.0.0 seed compiler for Linux on i386 x64?10
I want to build FPC/Lazarus (3.0.4/1.8.4) from sources on a new Linux (Ubuntu 18.04 TLS MATE) using an i386 family CPU. AFAIK I need to have the fpc seed compiler in…
- Default properties first draft3
I finally finished what I think is first draft of default properties. Since it already took me so much time to just get the basics of the compiler figured out I thought…
- Cannot use SQLite 64 bit dll3
Using Lazarus and FPC and sqlite3conn unit, I can use the sqlite3.dll on windows without problem. However, when I try to convert my project to win 64, it just fail…
- Indexing into records using [] property1
I’d like to know if there is a solution to the problem of indexing into records using [] properties. In the example below I have an array of records (a dynamic array…
- Will moving from due core CPU to 6 Core CPU of the same clock speed improve the speed of FPC compiling?15
I have been using Intel i3 Dual Core CPU @3.4 GHz for a few years. If I upgrade my computer and CPU to Intel Core i5 6-core @3.6GHz, will the speed of FPC compilation…
- Add assembler source file to fpmake package?4
I'm trying to build a fpmake project for the RTL. One problem I'm struggling with is how to add an assembler file to the package and assign a custom command to be…
- TJSCanvasRenderingContext2D's ellipse method is missing1
I'm now using pas2js v1.0.2 but I can't find `ellipse` method in TJSCanvasRenderingContext2D class. Is there a way to draw ellipse on a canvas using this version of…
- Parse strings like "day-1" to convert in a time stamp5
Do you know any Pascal lib to parse strings to convert in date/time values? The user is supposed to type human-friendly values like: - "day" => trunc(now) - "day-2"…
- How to append data to a file of byte?2
It seems like I cannot use Append() on a file of byte. Neither is it allowed to use SeekEOF() on that file type... I want to log binary data to a logfile and therefore I…
- GLPT v0.1.1 released18
I just released the first complete version of GLPT. Thanks to Ryan Joseph GLPT now supports Linux, MacOSX and Windows. Anyone interested in the project is invited to…
- Re: any free pascal standard function to compare a, string against an array of string?0
You mean something faster than a for-loop? Like a hash table? I don't know of any hash table in the standard library but there are some in the class library:…
- any free pascal standard function to compare a string against an array of string?3
is there a function like if IsOneOf('subtext', ['abc','cde','fecg','hig']) then begin ... end; is there such a function IsOneOf(TheSubString : String; const…
- Option in Makefile to clean installed compiled units2
when building FPC from sources, I couldn't find a command to cleanup unit binaries copied to common .\units\ dir by "install" command. Without this step build process…
- MacOSX Mojave7
Possibly unwisely, I updated by Mac to Mojave. I found that things (including 32 bit apps) worked, but: I had to add -Fl/Applications/Xcode.app/Con…
- mips cross compiler libraries (and crti.o) problem1
I built an fpc-3.0.4 mips cross compiler on kubuntu 18.04 using the prepackaged mips binutils with make all BINUTILSPREFIX=mips-linux-gnu- CPU_TARGET=mips OS_TARGET=linux
- Using REST based Services4
being rather agnostic regarding web techniques I have to ask: What module or unit is best for being used when calling web services? I want to try using Apache Tika…
- FpWaitPid() multiplies status by 2562
Hello, all Can anybody suggest why the function function FpWaitPid ( pid: TPid; var Status: cint; Options: cint ): TPid; may return the status…
- Order of Precedence: FPC/Delphi vs Java16
I have this simple little test. My expected answer for all the calculations are 0 (zero), but both FPC and Delphi give different results. Java is the only one that seems…
- with in classes/records43
I’m sorry to bring this one up again but it was touched upon in regards to management operators and auto free objects. Please bear with me while I recap. To summarize…
- "No debugger support" in FPC3.0.4 for DOS (go32v2)3
I downloaded "dos304full" and did the install. But trying to debug results in "No debugger support available" I looked into the sourcecode of the IDE and discovert that…
- Custom file drivers2
Hello, all The documentation on the FILE and TEXT types says that "nothing prevents the programmer, from writing a file driver that stores its data for instance in…
- Announcement GLPT16
I committed GLPT or the OpenGL Pascal Toolkit just now on GitHub. This toolkit is a (free) pascal replacement for GLUT and other similar toolkits that depend on third…
- Abstract method in TBufDataSet0
Is it correct that TBufDataSet - a real component in Lazarus palette that can be used as an instance - could have a abstract method or this is a mistake?…
- Free Pascal Language Diagram6
I posted this link once before, but I thought I'd remind you guys it exists and ask if anyone would like to take the work from the page, and integrate it into either the…
- "Not initialized" warnings in 3.20
I don't see this mail in archive so I send it again: Hi MSEide+MSEgui must compile without warnings and notes with Free Pascal default settings. In 3.2 there now are…
- Bitmap-as-const-and-write-to-file-thingy4
a program im fiddling with uses exactly 2 small .gif pictures that are to be stored in the code and written out to the file system. For several reasons - no gif writer,…
- 1
- seeing messages?2
I haven’t got a reply in days to some questions I had in the "with in classes/records” thread, which is unusual. Are people seeing my messages? Just wanted to make…
- Concatenating CP Strings11
concatenating codepage strings is documented to be a bit weird: <http://wiki.freepascal.org/FPC_Unicode_support#String_concatenations> Knowing this, how does one achieve…
