本篇的例子讲解@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[n])
);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2021-06-16
  • 2022-02-08
  • 2021-05-26
  • 2021-12-25
猜你喜欢
  • 2021-07-04
  • 2021-10-07
  • 2021-11-19
  • 2022-12-23
  • 2022-02-07
  • 2021-06-29
相关资源
相似解决方案