>
: Sparse Type
: Discrete types
: Discrete types
目次
索引
An integer type
is a finite integer interval going
from
to
. That is, it is the set of values
. The following lines define three types of integers types:
plIntegerType month(1, 12);
plIntegerType gray_level(0, 255);
plIntegerType distance(-50, 50);
We have then that
month
, gray_level
and
distance
.
Juan-Manuel Ahuactzin
平成17年3月31日