Lotus的变量后面的 $、 % 、# 等是什么意思?

来源:互联网 发布:蓝月传奇翅膀进阶数据 编辑:程序博客网 时间:2024/05/16 17:52

A data type suffix character (%, &, !, #, @, or $) can be appended, but is not part of the identifier.
这些符号是表示数据类型的。

Dim bulkPrice As Double
bulkPrice#  = 11.400556

比如bulkPrice#表示bulkPrice 这个变量是double型。
%     Integer
&      Long
i       Single
#      Double
@   Currency
$      String


也可以看帮助lotus design help目录下的

lotusscript lanaguage-->>Scripts and Statement Construction Rules-->>Special Characters. 
 

原创粉丝点击