StringToOS function
Converts string to operating system identifier
Declaration
function StringToOS(const S: string): TOSArguments
S | String representation of operating system |
Function result
Operating system identifier from string
Description
StringToOS converts a string representation of an operating system to its corresponding identifier enumeration.
This function enables parsing of operating system names from configuration files and command-line parameters.
The function supports standard operating system names.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
