Sign in Join
FPDoc Onlineexperiment

CPUToString function

In unit fpMkUnit

Converts CPU architecture identifier to string

Declaration

pascal
function CPUToString(CPU: TCpu): string

Arguments

CPU

CPU architecture identifier to convert

Function result

String representation of the CPU architecture

Description

CPUToString converts a CPU architecture identifier enumeration value to its string representation. This function provides human-readable names for CPU architectures used in build configuration.

The string representation is useful for logging, configuration files, and user interface display of architecture-specific information within the build system.

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