Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pre-exit,post-exit and overwrite-exit?

Former Member
0 Likes
1,217

Hi All,

What is Pre-exit,post-exit and overwrite-exit of a method?what are its uses?

Thanks,

Rakesh.

Hi All,

What is Pre-exit,post-exit and overwrite-exit of a method?what are its uses?

Thanks,

Rakesh.

2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
701

Hi

A pre-method is called directly after the call of the existing method before the first statement. A post-method is called after the last statement of the existing method before ENDMETHOD (only if the method is exited using ENDMETHOD).

This is included for globlas class enhancements as per new enhancement framework, implicitly.

If you want your code to execute before/after a class method execution, you can use it.

Regards

Vishal Kapoor