What is a scope of a variable that declared inside the main? Is that accessible in try & catch block?

It's not accessible directly. Scope Ends within the Main block. However, it can be accessed through the Pipeline document unless it is dropped within main block.

No comments:

Post a Comment