2 ms·
Or type Something is range 0 .. 255; And now Something'First equals 0, and Something'Last equals 255, or whatever upper bound you chose. There is no reas
by kqr 6y ago
Or
type Something is range 0 .. 255;
And now Something'First equals 0, and Something'Last equals 255, or whatever upper bound you chose.
There is no reason to hard code a magic constant for the upper end of the range anywhere.