When using the OLEObject, parameters to an OLE / COM object can have their value changed and returned to the calling ooRexx script. These are commonly called 'out' parameters.
The OLEVariant class can be used as a transport to return the out parameters to the calling ooRexx script. That was the intent.
There is a bug in that only the first out parameter is returned correctly. If the OLE / COM method invocation has more than one out parameter, the value for the first out parameter is returned, but the rest of the out paramters are not returned.
Anonymous
Logged In: YES
user_id=191588
Originator: YES
Committed revision 1232.
One variable, arrItem, was being used for two purposes. As an item from an array and as an index of the array. This of course clobbered one of the values. The fix was to use 2 seperate variables for 2 separate purposes.
The fix for this item was in the 4.0.0 release.