-
Notifications
You must be signed in to change notification settings - Fork 2
System.PosInt
Dennis G. edited this page Jul 18, 2025
·
2 revisions
type PosInt = rangeint(0, System.Inf)
The PosInt type in the System package represents the a constraint for positive numeric integer values, those being any integer numbers between (including) 0 and (excluding) Inf (positive infinity), thus all natural numbers. Like all integer types, its values must not contain fractional digits and must not be special numbers like Inf or NaN. The value range for PosInt is a subset of that of the more generic Positive type.
Texts, images and code samples on this page are available under MPL 2.0 license