![]() The 1.0.x series (and the bug-fix/stabilisation releases that followed, last, 1.0.10 in July 2003) was widely used, both as an enterprise and educational tool. Stabilising for a 1.0 release started, and this milestone was reached in July 2000. With 0.99.8, the Win32 target was added, and a start was made with incorporating some Delphi features. 0.99.5 was also ported to systems using a 680x0 CPU. This culminated in the 0.99.5 release which was much more widely used than previous versions, and the last release aiming only for Turbo Pascal compliance: later releases would add a Delphi compatibility mode. The DOS version also improved gradually, and migrated to the go32v2 extender. In the years after publishing on the Internet, a Linux port was made by Michael van Canneyt (a full five years before Kylix), the DOS port was adapted for use in OS/2 through the EMX extender. The initial 32-bit compiler was published on the net, and the first contributors joined the project. After two years, the compiler was able to compile itself so it became 32-bit too. Originally the compiler itself was a 16-bit DOS executable compiled by Turbo Pascal. The compiler was written in the ( Borland) Turbo Pascal dialect from the start and produced 32-Bit code for the go32v1 DOS extender used and developed by the DJGPP project at this time. Lazarus, which implements packages of components).įree Pascal emerged when Borland made clear there would be no Borland Pascal 8, and the next versionwould be a Windows-only product (which became Delphi later on), and a student (Florian Paul Klämpfl) started working on his own compiler. The project still has missing Delphi functionality, mainly compiler supported exporting of classes from shared libraries (useful for e.g. The 2.2.x series doesn't significantly change the dialect objectives beyond D7, instead aiming for close compatibility. Since the Apple dialect implements some of the Standard Pascal features that TP/Delphi miss, FPC is a bit more ISO compatible than these. However, the project has a compilation mode concept, and the developers made it clear that they would incorporate working patches for the ANSI/ISO standardised dialects to create a standards compliant mode.Ī small effort has been made to support some of the Apple Pascal syntax, to ease interfacing to Mac OS (X). (Specifically: Borland Pascal 7 and Delphi 2 for version 1.0.x, and for version 2.0.x the target versions for the Delphi compatibility changed to 6/7). The visual parts of the Delphi libraries (the VCL) and the creation of a visual IDE and RAD are part of a separate project, Lazarus.įPC adopted the de facto standard dialects of Pascal programmers: the Borland dialects. FPC supports multiple architectures and notations in the internal assembler. Like Turbo Pascal and Delphi, Free Pascal has excellent support for integration of assembly language in the Pascal code. This IDE deteriorated for some time because of a missing maintainer, but in a common effort in the second half of 2005 and the first months of 2006, most major bugs were fixed and the IDE became release-worthy again. To avoid this confusion, at the end of 1997 the name of the project was changed into Free Pascal Compiler (FPC).įree Pascal comes with a text user interface IDE resembling Turbo Pascal's IDE ( Turbo Vision). Writing "Compiler" with K is uncommon in German. FPK Pascal never meant "Free Pascal Kompiler". The 32/64-bit multi-architecture and multi-operating system compiler implements the Borland Pascal dialects ( Turbo Pascal and Delphi) as well as some MacPascal constructs, and is available formost common operating systems.įree Pascal used to be known as FPK Pascal, since FPK are the initials of the author, Florian Paul Klämpfl. internally that same FindFirst in FPC uses the the more accurate FindFirstFileW it also uses in the FileAge(Filename) but it converts the ftLastWriteTime back to WinToDosTime() for the time in the SearchRec.Caption = Free Pascal being operated via the command lineįree Pascal (or FPK Pascal or FPC) is a free, portable, open source, Pascal and Object Pascal compiler. That would be easily fixed in FPC to use SystemTimeToDateTime() too but the next problem is that FPC uses the old FindFirst() to get the time information (which isn't accurate to the millisecond).Īnd to top it off. Delphi uses TrySystemTimeToDateTime() to convert the FileTime to DateTime (which does support milliseconds). ![]() But in FPC that overloaded version uses the FileTimeToDateTime internally again, which strips the milliseconds. And that returns the correct milliseconds in Delphi. FileAge(FileName, DateTime): Boolean is the new one. The FileAge(Filename) with one parameter is deprecated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |