View Single Post
  #30 (permalink)  
Old 04-25-2008, 01:51 AM
KiruthikaSambandam KiruthikaSambandam is offline
D-Web Analyst
 
Join Date: Aug 2007
Posts: 332
KiruthikaSambandam is on a distinguished road
Default Re: Asp Interview Questions

What are LOCAL and GLOBAL variables?

Local Variable: The scope of the local variable is for the procedure in which they are declare. Which are called procedural level variable. Which are local to the procedure. The variables which are declare outside the procedure in option explicit whose scope is local to the form in which they are declare.

Global variables are the variables whose scope is throughout the applicaiton. Usually used in module are class.
Reply With Quote