"Davide" a �crit dans le message de news:c29c7h$hbq$1@e3k.asi.ansaldo.it... > 1) always declare that variable as the *smallest* data type that will hold > the highest value of its possible range (example: if it can assume values > from 0 to 150 then declare it as an 8-bit integer); > Note the following very useful feature, if you want a type that includes *at least* a certain range: type Required is range 0..150; subtype Extended is Required'Base; Extended will provide you with the underlying base type, which should be the minimal hardware efficient type that includes your requirements. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr