Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are LOCAL and GLOBAL variables?



What are LOCAL and GLOBAL variables?..

Answer / guest

Local variables lifetime ends when the Procedure ends.
Global variables lifetime begins at the start of the script
and ends at the end of the script and it can be used by any
procedure within the script. Declaring a variable by using
the keyword PRIVATE makes the variable global within the
script, but if declared using PUBLIC, then all scripts can
refer the variable.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP Interview Questions

Difference between GET and POST? Which is used when?

3 Answers  


What's the purpose of using BUFFER property?

2 Answers  


How do in-process communication work in the common language runtime?

0 Answers  


How do I open an asp file in excel?

0 Answers  


how to configure asp.net website in vs2008. and the projects devoloped in 2005 can be run in 2008

0 Answers  


What purpose is served by the application.lock method?

0 Answers  


What is asp in web design?

0 Answers  


What is the use of following Statement Response.Expires=120 A.The page will be removed form cache after 120 Hours B.The page will be removed form cache after 120 Sec C.The page will be removed form cache before 120 Min D.The page will be removed form cache after 2 Hours

1 Answers  


how can i show the data of sql table in different dropdown list?

1 Answers  


Is asp a scripting language?

0 Answers  


The FileSystemObject provides an object interface to drives, directories, and files for which of the following? A. Any local or mapped drive on either the server or the client. B. Only files and subdirectories in the web site's home directory. C. Any local physical drive or mapped drive on the web server. D. Any file system physically located on the web server. E. The client's computer.

1 Answers  


what is the difference between sql server2000 and 2005

0 Answers  


Categories