cancel
Showing results for 
Search instead for 
Did you mean: 

What is Global Code tab on Initialize Page

ShahajiSuryawan
Level 3
Hello, I am working with Code Stage and I came across Global Code tab on Initialize page. I am curious to know what is this Global Code exactly. What is the likening of same in traditional programming languages. Thanks, Shahaji Suryawanshi
2 REPLIES 2

VijayDodamani
Level 5
Hello Shahaji, Global code is something that is available to entire object and that will loaded in memory when you call any of action under the object. For more understanding, open any action of MS Excel VBO, there you will find method called GetInstance(handle) method. Now the question is where the GetInstance Method has been declared? The answer is inside the global code of intialize page property. NOTE: Please do not change any method. Any change in method or action or object may stop working the particular object. While exiting, please discard the changes. Thank you. Regards, Vijay Rudrappa Dodamani

John__Carter
Staff
Staff
The global code page is for methods, classes, constants etc that can be employed by code stages on the other pages.