`
xys_777
  • 浏览: 202429 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

pb11.5 web开发 webservice中使用byte[]参数

 
阅读更多

1、webservice中的函数

函数名:uf_bytearray

参数:ref byte abyte[]

函数内容:

int i
for i = 1 to 10
abyte[i] = 250+i
next
return 10

2、创建proxy,参考前的文章

3、调用

函数名:getbyte

函数内容:

byte lbyte[]
int i,count
blob lblob

lblob = blob(lbyte)

count = pb_soap.uf_bytearray(ref lblob)

lbyte=getbytearray(lblob)

for i=1 to count
messagebox("",string(lbyte[i]))
next
return 1

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics