壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1914|回复: 6

[Domino C/S开发] 关于LotusScript中常识问题

[复制链接]
发表于 2005/3/18 17:30:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
1、在LotusScript中总遇到一些值value(0),这些值后(0)是什么意思?
2、在LotusScript中,Sub和Function有什么区别?
3、在LotusScript中,initialize有什么作用?
谢谢!
 楼主| 发表于 2005/4/4 17:48:51 | 显示全部楼层
没人应啊
 楼主| 发表于 2005/4/5 10:37:17 | 显示全部楼层
看来搞这个是差不多啊
发表于 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就是自定义的函数了

发表于 2005/4/7 11:07:24 | 显示全部楼层
initialize
A user-defined sub that LotusScript executes when the module containing the Initialize sub is loaded.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 06:33 , Processed in 0.013810 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表