Internet Direct (Indy)
Home
PreviousUpNext
logFacilityToNo Function

Converts a Syslog facility enumeration value to its ordinal value in the enumeration.

Pascal
function logFacilityToNo(
    AFac: TIdSyslogFacility
): Word;
Parameters 
Description 
AFac 
Syslog facility enumeration value to be converted. 

Word - Ordinal value for the Syslog facility enumeration value.

logFacilityToNo is a Word function used to convert the TIdSyslogFacility facility enumeration value to a number representing its ordinal position in the enumeration.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.