Delphi知识点(1)
The case statement
case I of
1..5: Caption := 'Low';
6..9: Caption := 'High';
0, 10..99: Caption := 'Out of range';
else
Caption := '';
end;
case知支持integer,char
stringgrid的列是从1开始,
chr(8) BS 退格键
chr(12) FF 换页
char()返回ascii对应的值
ord()函数:
Returns the ordinal value of an ordinal-type expression.
返回一个序数类型表达式的序数值;
浙公网安备 33010602011771号