Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

StringToCPU

Converts string to CPU architecture identifier

Declaration

Source position: fpmkunit.pp line 1686

function StringToCPU(

  const S: string

):TCpu;

Arguments

S

  

String representation of CPU architecture

Function result

CPU architecture identifier from string

Description

StringToCPU converts a string representation of a CPU architecture to its corresponding identifier enumeration. This function enables parsing of CPU architecture names from configuration files and command-line parameters.

The function supports standard CPU architecture names.


Documentation generated on: Dec 15 2025