您的位置:首页 > 其它

LOTUS/DOMINO学习笔记之@for和@elements的使用方法

2008-11-10 19:49 375 查看
本篇的例子讲解@for和@elements的使用

@for的原形:@For( initialize ; condition ; increment ; statement ; ... )

@elements的原形:@Elements(SalesForce)返回元素的个数

v1:=@DbLookup("";"";"$borrow";Book_ComputerID;4);

temp:=0;

@If(

@IsError(v1);

temp:=temp;

@For

(n:=1;

n<=@Elements(v1);

n:=n+1;

temp:=temp+v1
)

);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: