Enumeration
Available families
The 207 entries in this group are the names scripts use for enum members and a small number of enum-like compatibility constants. The detailed page for each member gives its exact ordinal, source type, aliases, supported consumers and version boundary.
| Type or family | Members | Primary use |
|---|---|---|
Boolean | 2 | False and True; intrinsic Boolean values, not numeric status codes. |
TComponentState | 11 | csAncestor through csWriting; component streaming/design flags exposed as individual members of a set type. |
TDataPacketFormat | 3 | dfBinary, dfXML, dfXMLUTF8; ClientDataSet packet serialization formats. |
TDuplicates | 3 | dupIgnore, dupAccept, dupError; string-list duplicate policy. |
TFieldType | 52 | ftUnknown through ftOraInterval; dataset field metadata, not a request to convert a value. |
TIdHTTPProtocolVersion | 2 | pv1_0, pv1_1; the HTTP versions exposed by this Indy import. |
TIdMessageEncoding | 3 | meDefault, meMIME, mePlainText; message encoding policy. |
TIdMessageFlags | 6 | mfAnswered, mfDeleted, mfDraft, mfFlagged, mfRecent, mfSeen; flags combined in a message-flags set. |
TIdMessagePartType | 2 | mptText, mptAttachment; mail body-part role. |
TIdMessagePriority | 5 | mpHighest through mpLowest; mail priority hint. |
TIFException | 25 | ErNoError plus compiler/runtime error categories; diagnostic identities, not exception instances. |
TJSONValueType | 6 | jsNull, jsString, jsNumber, jsObject, jsArray, jsBoolean; JSON node kinds. |
TLocateOption | 2 | loCaseInsensitive, loPartialKey; flags combined in a locate-option set. |
TValueRelationship compatibility | 3 | LessThan, Same, MoreThan; signed comparison results -1, 0, 1. |
TOperation | 2 | opInsert, opRemove; collection-notification operation. |
TAlignment | 3 | taLeftJustify, taRightJustify, taCenter; horizontal alignment. |
TsdElementType | 18 | xeElement, xeAttribute and XML lexical/node categories used by the SimpleXML surface. |
TvxAuthType | 8 | fatNone through fatNetsuiteOAuth; Velox transport authentication configuration. |
TvxFileEventType | 9 | fetNone through fetWrite; file-log/event category. |
TvxFileType | 6 | fftFlatFile through fftExcelFile; Velox file-definition kind. |
TvxGrantType | 4 | gtAuto, gtAuthCode, gtClientCredentials, gtPassword; OAuth grant selection. |
TvxHTTPMethod | 10 | hmAny, standard verbs and hmCustom; configured HTTP method. |
TvxLogStatusType | 9 | flsNotSet through flsHighlight; in-memory/log status ordinal, which is not every database lifecycle domain. |
TvxSSLClientType | 9 | fstAuto, legacy SSL/TLS names and alias spellings; transport-library compatibility layer. |
TvxTLSType | 4 | fttNoTLSSupport through fttImplicitTLS; mail TLS connection mode. |
Enum members, ordinals and sets
An enum member has meaning only in its declaring domain. PascalScript ultimately evaluates most of these values as ordinals, so unrelated members with the same number can compare equal or be accepted by a weakly typed call while expressing the wrong intent. Prefer the public member name over a literal integer and verify the receiving property or parameter's enum type.
Types such as TComponentState, TLocateOptions and TIdMessageFlags are sets of enum members. A member is not the complete set: use set syntax such as [loCaseInsensitive, loPartialKey] where the imported signature expects a set. Do not add ordinals arithmetically. Duplicate aliases may map to the same bit and do not create an additional state.
Enum ordinals are implementation contracts, not durable external interchange formats unless the detailed child page explicitly traces a matching database/API contract. Persisting a raw ordinal makes upgrades and cross-domain mistakes difficult to detect.
Important compatibility boundaries
fstTLS11/fstTLS1_1andfstTLS12/fstTLS1_2are spelling aliases. A configured TLS label does not guarantee that the installed protocol stack or remote peer permits it.flsOKhas display wordingSuccessful, while the general VxData status family uses codeSuccess. Other lifecycle status families reuse ordinals differently.TFieldTypedescribes stored/provider metadata. Field classes, provider support, size, precision and conversion rules still determine what can be read or written.TIFExceptionidentifies PascalScript failures. Some names preserve upstream capitalization (Er...) and all should be copied exactly as displayed.- Boolean
TrueandFalsemust not be substituted for same-valued business constants such asStatus_SuccessorStatus_NotSet. - XML, HTTP and mail members expose the versions/types compiled into Velox; they are not a complete catalogue of newer standards.
Reading an enum member is constant-time and side-effect free. Effects, validation and errors occur when a consumer uses it—for example, opening a transport, locating a dataset record or serializing a packet. Each child page documents that terminal path and its quirks.
External references
Created 2026-07-15