2,749
社区成员
发帖
与我相关
我的任务
分享Clear
Create Cursor temp (v c(2))
Insert Into temp Values ('a')
Insert Into temp Values ('b')
Insert Into temp Values ('c')
i = 0
Select v+foo(), v+foo() From temp
*select foo() from temp
Function foo()
? Recno()
Return v
EndfuncClear
Close Databases All
Create Cursor temp (v c(2))
Insert Into temp Values ('a')
Insert Into temp Values ('b')
Insert Into temp Values ('c')
Select foo() From temp
Function foo()
On Error Cancel
? Recno(), v
898 && 报错
Return v
Endfunc