Sign in Join
FPDoc Onlineexperiment

OSToString function

In unit fpMkUnit

Converts operating system identifier to string

Declaration

pascal
function OSToString(OS: TOS): string

Arguments

OS

Operating system identifier to convert

Function result

String representation of the operating system

Description

OSToString converts an operating system identifier enumeration value to its string representation. This function provides human-readable names for operating system identifiers used in build configuration.

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

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