介绍: 1. 标准数据类型............................3 1.1 BOOL.............................3 1.2 整型数据类型.................3 1.3 REAL / LREAL...............3 1.4 STRING..........................3 1.5 时间、日期类型....................................................................4 1.6 常数.................................................................................4 1.6.1 BOOL – 常数.................................................................4 1.6.2 TIME – 常数.................................................4 1.6.3 DATE – 常数........................................................4 1.6.4 TIME_OF_DAY 常数..............................................4 1.6.5 DATE_AND_TIME – 常数..........................................5 1.6.6 数值常数...............5 1.6.7 REAL / LREAL – 常数..............................5 1.6.8 STRING – 常数..................................5 2. 变量类型转换功能...................6 2.1 BOOL_TO_变换.............6 2.2 TO_BOOL – 变换..............6 2.3 整型数类型之间的转换......................................6 2.4 REAL_TO - / LREAL_TO – 转换...........................................7 2.5 TIME_TO - / TIME_OF_DAY – 转换...................................7 2.6 DATE_TO - / DT_TO – 转换........................7 2.7 STRING_TO – 转换.......7 2.8 TRUNC (取整).................8