|
|
发表于 2005/4/7 11:01:31
|
显示全部楼层
value(0)不知道你在哪里碰到的?一般来说应该是variant数据类型中的第一个值,有点像数组。我自己有时候也会把一些系统变量中的值用这种方法提取出来。具体怎么提取,你可以看看运行lotusscript时候调试过程中的变量监控。
Function我理解有两种意思吧。一种是系统的一些函数,像Cint()这样的,
另外就是可以自己定义的一种数据类型,像是别的语言中的structure
A function is a named procedure that returns a single value. LotusScript provides a set of built-in functions that you can use to perform a variety of common numeric, date/time, string, data-conversion, and value-testing operations.
LotusScript also lets you create your own functions. You define a function by specifying a series of one or more statements that are executed as a block when the application calls the function. You enclose these statements between the function signature and the End Function statement.
A function signature specifies the function name, its scope, the data types of the values that it expects the application to pass it (if any), the lifetime of the variables that it defines (if any), and the data type of the value it returns to the application.
至于sub就是自定义的函数了
|
|