Global and local variables

Tags:
Variables
What are global and local variables? Is there a difference between the two?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

In a service program Global variables are defined and used through out all the modules. Local variables are defined in a single module and used in it.

Important to know is that more than one module can have the same variable name (with different lengths) within the same service program.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: