Skip to content

Commit 53d88d4

Browse files
committed
Add warning to potentially buggy snippet meta data
The `TRangeEx` advanced record had a warning added to its extra information re buggy behaviour if the range's lower bound was set greater than the upper bound.
1 parent 278652a commit 53d88d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

collection/structs.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ FPC=Y
232232
[TRangeEx]
233233
Kind=class
234234
DescEx="<p>Encapsulates a range of integers with a methods to test whether a value falls within the range and to adjust the value to fit.</p>"
235+
Extra="<p><warning>Warning:</warning> It is up to the caller to ensure that the <var>Min</var> field is always less than or equal to the <var>Max</var> field otherwise the <var>Constrain</var> method will return crazy values and <var>Contains</var> will always return False .</p>"
235236
Units=Math
236237
SeeAlso=Range,TRange,TIntegerRange
237238
TestInfo=advanced

0 commit comments

Comments
 (0)