标题: 头文件引用错误,请求急援! [打印本页] 作者: billrub 时间: 2004-10-7 21:56 标题: 头文件引用错误,请求急援! 我在录制了一段脚本后,并引入datapool,也对“sqautil.sbh”进行了头文件引用说明,可依然出现了错误:
对“sqautil.sbh”文件中的一系列DECLARE语句指出了同一错误“ILLEGAL STATEMENT!”
望高手不吝赐教!作者: hxf 时间: 2004-10-8 13:26
请把你的脚本和错误写清楚。作者: billrub 时间: 2004-10-8 15:28 标题: 脚本 Sub Main
'$Include "SQAUTIL.SBH"
Dim Result As Integer
dim x as integer
dim dp as long
dim user as string
dim pw as string
dp = sqadatapoolopen("test");
for x =1 to 5
call sqadatapoolfetch(dp)
call sqadatapoolvalue(dp,1,user)
call sqadatapoolvalue(dp,2,pw)
Sub Main
Dim Result As Integer
dim x as integer
dim dp as long
dim user as string
dim pw as string
dp = sqadatapoolopen("test");
for x =1 to 5
call sqadatapoolfetch(dp)
call sqadatapoolvalue(dp,1,user)
call sqadatapoolvalue(dp,2,pw)