lcCmd = [Exec < sp > ?in1, ?in2, ?in3, ?@out1] SqlPrepare( lnConnectionHandle, lcCmd ) Select < table > Scan out1 = Space(20) SqlExec( lnConnectionHandle ) EndScanThe call doesn't generate an error but the out parameter is not set.
lcCmd = [Exec < sp > ?in1, ?in2, ?in3, ?@out1] SqlPrepare( lnConnectionHandle, lcCmd ) CREATE CURSOR 'Test' ( 'Test' Q(32) ) Select < table > Scan out1 = Test.Test SqlExec( lnConnectionHandle ) EndScanThe out parameter is stuffed with the 32 byte integer.