F
fj218
Unregistered / Unconfirmed
GUEST, unregistred user!
首先定义一个集合
type
TLocation=1..9;
TLocations=set of TLocation;
然后声明一个集合实例
s:Tlocations;
如果赋值
s:=[15];
为什么运行时不报错
我已经在options选择了Range checking
如果不会报错的话,程序运行有没有意想不到结果?
type
TLocation=1..9;
TLocations=set of TLocation;
然后声明一个集合实例
s:Tlocations;
如果赋值
s:=[15];
为什么运行时不报错
我已经在options选择了Range checking
如果不会报错的话,程序运行有没有意想不到结果?