I always thought PERFORM and EXECUTE where the same thing, just
part of the one language says PERFORM and and the other says EXECUTE.

After RTFM on PERFORM, it appears that is not the case.
However you can't use CAPTURING with PERFORM, which isn't a problem in
   my case, since HUSH works fine.

BUT...that doesn't explain why the CAPTURING clause causes EXECUTE to
behave that way, unless, and I'm not sure how to check this, if there
is no CAPTURING clause, it compiles as a PERFORM statement, otherwise
it compilies as an EXECUTE statement.

George

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of John Rodgers
> Sent: Wednesday, October 18, 2006 1:37 PM
> To: [email protected]
> Subject: RE: [U2] Bug? Capturing with user.return.code
> 
> 
> Isn't this why we have "PERFORM" ?
> 
> EXECUTE sets up a new 'environment'
> 
> PERFORM retains the existing 'environment' and retains all your
> @system contents.
> 
> 
> Cheers
> 
> 
> JR
> 
> 
> John Rodgers
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to