Skip to main content

Enumerations

Velox PascalScript enumerations are named ordinal types. Unless stated otherwise, the first declared member has ordinal 0 and each following member increases by one. The name is the stable scripting concept; the numeric ordinal is an implementation detail that can drift when an importer omits, inserts or reorders a host value.

Select an enumeration

AreaEnumerationUseCritical boundary
Client datasetsTDataPacketFormatBinary or XML packet serializationFormat controls bytes and encoding, not logical rows.
ListsTDuplicatesSorted-list duplicate policyComparison rules and existing entries affect results.
DatasetsTFieldTypeField/parameter logical typeScript importer omits host ftLargeUint.
HTTPTIdHTTPProtocolVersionHTTP/1.0 or 1.1This is separate from TLS.
MailTIdMessageEncodingWhole-message layoutNot character or transfer encoding.
MailTIdMessageFlagsIMAP message stateFlags normally travel in a set.
MailTIdMessagePartTypeText versus attachment partResult follows runtime class behavior.
MailTIdMessagePriorityFive-level message priorityOrdinals map to X-Priority 1..5.
PascalScript VMTIFExceptionRuntime error categoryParameter meaning depends on the error member.
JSONTJSONValueTypeRuntime JSON value kindGuard conversions by kind and null state.
DatasetsTLocateOptionLocate matching behaviorUsed through TLocateOptions; provider behavior matters.
XMLTsdElementTypeNativeXML node kindRaw navigation includes non-element nodes.
AuthenticationTvxAuthTypeBasic, bearer, OAuth or Windows selectionScript importer omits host fatNTLM.
File auditTvxFileEventTypeFile lifecycle eventOmitted host fetDownload shifts later ordinals.
File definitionsTvxFileTypeLegacy file parser familyfftExcel is an old alias-like member.
OAuthTvxGrantTypeGrant flowPassword grant is obsolete; Auto is provider data.
HTTPTvxHTTPMethodRequest method or routing sentinelAny/Custom are not ordinary fixed methods.
LoggingTvxLogStatusTypeOutcome/severity stateStatus drives persistence, routing and notifications.
TLSTvxSSLClientTypeSSL/TLS protocol mappingSeveral labels collapse to TLS 1.2.
TLSTvxTLSTypeNo, implicit or explicit TLS policyRequire and explicit modes have different failure behavior.

Rules for technical consumers

  • Compare named members and use case statements. Do not persist Ord(...) unless the same exact importer declaration is part of the data contract.
  • An enumeration is one value. A set of type can hold zero or more members; see the separate Sets branch.
  • Validate values entering through configuration, JSON, databases, Variants or numeric casts before assigning them to an enumeration.
  • Treat importer/host mismatches as type-boundary defects. TvxFileEventType has a shifted ordinal after omitted fetDownload; TvxAuthType omits trailing fatNTLM; TFieldType omits trailing ftLargeUint.
  • Low, High, Ord, Pred and Succ express ordinal mechanics but do not provide business meaning. Prefer explicit named mapping tables.
  • Code Library declarations for TFieldType and TIFException were truncated to 300 characters in the generated index; their child pages reconstruct the complete script registration from product source.

External references

Created 2026-07-15