dwo系统变量是什么意义

kimhoo 2002-09-08 03:28:13
请问高手dwo这个系统变量是有什么意思,如何使用?
...全文
131 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
someufo 2002-09-09
  • 打赏
  • 举报
回复
按我的理解dwo不是数据窗口对象,而是数据窗口里头对象的句柄
zzz1975 2002-09-09
  • 打赏
  • 举报
回复
datawindowobject dwo
wj_mailbox 2002-09-08
  • 打赏
  • 举报
回复
datawindowobject
xhwly 2002-09-08
  • 打赏
  • 举报
回复
我用它最多的就是取列名 dwo.name
morningdew 2002-09-08
  • 打赏
  • 举报
回复
datawindow object

包含若干的对象。。
gdycs 2002-09-08
  • 打赏
  • 举报
回复
数据窗口内部对象的基类。
包括column,compute,line,text等。
xingxing 2002-09-08
  • 打赏
  • 举报
回复
dw object
fbc 2002-09-08
  • 打赏
  • 举报
回复
他就象函数定义时候的一个参数,可以在当前窗口中任意使用,不同的是,这个变量不需要传参。
yuxuan 2002-09-08
  • 打赏
  • 举报
回复
DWO是数据窗口对象意思
are2000 2002-09-08
  • 打赏
  • 举报
回复
You can get better performance by using a DWObject variable to resolve the object reference in a DataWindow property or data expression. Evaluating the reference once and reusing the resolved reference is more efficient than fully specifying the object reference again.
This technique yields the most benefit if your application uses compiled code or if you are using a DataWindow expression in loop.
For example, this code is not optimized for best performance, because the fully specified data expression within the loop must be resolved during each pass:

integer li_data

FOR li_cnt = 1 to 100

li_data = dw_1.Object.emp_salary[li_cnt]
.. // Code to process data value

NEXT

This code has been optimized. The reference to the object within the DataWindow (emp_salary) is resolved once before the loop begins. The reference stored in the DWObject variable is reused repeatedly in the loop:

integer li_data

DWObject dwo_empsalary

dwo_empsalary = dw_1.Object.emp_salary

FOR li_cnt = 1 to 100
li_data = dwo_empsalary[li_cnt]
.. // Code to process data value

NEXT
zyunlin 2002-09-08
  • 打赏
  • 举报
回复
看看帮助不就知道了!

1,079

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧