| ExtraFunctionality.pas Updated 05 Apr 2018 | Upper levels: - QuArK Information Base - 4. The Source Code - 4.5. File-by-file descriptions

4.5.3. ExtraFunctionality.pas | [ Prev - Up - Next ]

This file adds stuff that's missing in certain versions of Delphi. For instance, the function `IsPathDelimiter` was introduced in Delphi 6, but that would mean QuArK wouldn't be able to compile on Delphi 5 and lower. To solve this problem, an entry for this function has been added to ExtraFunctionality. The version-definitions of Delphi all come from a single file: `DelphiVer.inc` . Then there are compiler if-checks. Inside them is the missing stuff. Most of it has been taken directly from Delphi source files, with their comment. Note: All Delphi files that use any of the functions that are declared here or use any of the constants in ExtraFunctionality, should have a ExtraFunctionality in their uses, so when a lower version of Delphi is used, ExtraFunctionality's version is used.

Copyright (c) 2021, GNU General Public License by The QuArK (Quake Army Knife) Community - http://quark.sourceforge.net/ | [ Prev - Top - Next ]