Sign in Join
FPDoc Onlineexperiment

ModeToString function

In unit fpMkUnit

Converts build mode to string representation

Declaration

pascal
function ModeToString(Mode: TCompilerMode): string

Arguments

Mode

Build mode to convert to string

Function result

String representation of the build mode

Description

ModeToString converts a build mode identifier enumeration to its string representation. This function provides human-readable names for build modes used in build configuration.

The string representation includes modes such as debug, release, and other build configurations useful for logging and user interface display within the build system.

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