Description: Formats a value by creating a temporary entry with the supplied value format and entry type.
Calling convention: CIP_FormatValue(Value:Variant,"FormatString":String,EntryType:EntryType):String;
Parameters:
Value: value to format.
FormatString: entry-compatible format mask.
EntryType: TOEEEntryType code controlling value coercion and formatting.
Returns: Formatted String. Invalid conversions or entry-type values can raise an exception.
Availability: Default.
Example:
FormattedValue := CIP_FormatValue(Now(), "dd.mm.yyyy", CIP_StrToEntryType("DateTime"));