当前位置: 代码迷 >> PB >> 函数怎么返回多个值
  详细解决方案

函数怎么返回多个值

热度:120   发布时间:2016-04-29 09:10:34.0
函数如何返回多个值?
网上调查过,方法有两种,但是具体实现不知道如何实现

1 传递 结构体

我查了很多资料,但都是两个窗体之间传递 结构体,没有函数的

http://topic.csdn.net/t/20020417/09/653229.html
http://topic.csdn.net/t/20050115/22/3728970.html


http://www.programmer-club.com.tw/ShowSameTitleN/pb/1655.html



2 用 REF

网上的资料是略略的提一下,没有任何实例

http://topic.csdn.net/t/20060119/13/4525408.html


请用实例指教一下,记得,是函数,不是窗体,谢谢

------解决方案--------------------
return type 为 (None)
agrument type分别为:
SQL code
Pass By                   Argumnet Type              Argument Name--------------------------------------reference                   integer                      ai1reference                   integer                      ai2reference                   string                       as
  相关解决方案