Positive

BLS nanali at nospam-wanadoo.fr
Sun Oct 5 03:04:14 PDT 2008


I would prefer a more general, ADA like, solution.

// ADA
SUBTYPE Natural IS Integer RANGE 0 .. Integer'Last;
SUBTYPE NonNegFloat IS Float RANGE 0.0 .. Float'Last;
and also :
SUBTYPE CapitalLetter IS Character RANGE 'A' .. 'Z';


just my 2 euro cents;
Bjoern




More information about the Digitalmars-d mailing list