Declaring the variable in the enclosing program will allow you to use it in both places, but is sloppy programming. Much better to explicitly pass in any values needed by the outside program and to explicitly return any values needed later.
global and shared have their values. i used them for QAD applications where the global variables feeds to Crystal reports. example, i can create one crystal reports and use the global shared variable userid to find his/her location and the report filters automatically instead of creating few same reports and hard filter in Crystal
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.