Sign in Join
FPDoc Onlineexperiment

FPCAdds unit

Contains additional types and routines not currently available in FPC.

fpcadds.pas contains code in its initialization section to set the code page for conversions and the RTL file system to CP_UTF8. The initialization code is included only for platforms or OS-es where the RTL ( Run-Time Library) is UTF-8-enabled.

fpcadds.pas is part of the lazutils package.

Procedures and functions

AlignToIntfunctionAligns the specified pointer to the size of an Integer data type.
AlignToPtrfunctionAligns the specified pointer to the boundaries required for the FPC compiler.
GetCompiledTargetCPUfunction
GetCompiledTargetOSfunction
StrToBytefunction
StrToByteDeffunction
StrToShortIntfunction
StrToShortIntDeffunction
StrToSmallIntfunction
StrToSmallIntDeffunction
StrToWordfunctionConverts the value in a String to a Word data type.
StrToWordDeffunction
TryStrToBytefunction
TryStrToShortIntfunction
TryStrToSmallIntfunction
TryStrToWordfunction

Types

TCompareMemSizetypeAlias to the PtrUInt type used when comparing memory blocks.
TMemStreamSeekTypetypeAlias to the PtrInt type used as the origin for TMemoryStream seek operations.
TStreamSeekTypetypeAlias to the Int64 type used as the origin for TStream seek operations.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.