ERR_NULL_NOT_ALLOWED

Unit: EgStrParser

const
  ERR_NULL_NOT_ALLOWED = 4;

opNotNull is set and at least one token became NULL: an empty list position (1,,3), an empty range bound (~100), or empty input for a type other than itString.

For itString, empty tokens give '', not NULL, unless opEmptyStringNull is set too.

R := ParseInput('1,,3', itInteger, [opNotNull]);
// R.ResultType = otInvalid
// R.ErrorCode  = ERR_NULL_NOT_ALLOWED

It is not returned when ERR_EMPTY_NOT_ALLOWED was already set in the same call.

See Also

(C) 2026 Easygate, Lda