Sign in Join
FPDoc Onlineexperiment

StringToCPUS function

In unit fpMkUnit

Converts string to CPU architecture set

Declaration

pascal
function StringToCPUS(const S: string): TCPUS

Arguments

S

String representation of CPU architectures

Function result

CPU architecture set from string

Description

StringToCPUS converts a comma-separated string of CPU architectures to a set of CPU identifier enumerations. This function enables parsing of multiple CPU architecture targets from configuration strings.

The function processes comma-separated architecture names and builds a set containing all valid CPU architecture identifiers found in the input string.

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