Skip to content

ToString

Converts compile target to string representation

Declaration

Source position: fpmkunit.pp line 223

function TCompileTarget.ToString(aLimit83: Boolean) : string;

Arguments

Name Description
aLimit83 Whether to limit filename to 8.3 format

Function result

Result returns a formatted string containing the compile target information. The string format shows CPU and OS identifiers, optionally formatted for 8.3 filename compatibility when requested.

Description

Returns a string representation of the compile target showing CPU, OS, and subtarget.

Optionally limits the string length for compatibility with older systems.