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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between asp and aspx?

1136


What is the difference between html and asp?

1058


what is execute dataset for sp

2572


What is an err object?

1019


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

1084


How do I open an asp file in excel?

1081


explain joints in .net.

2393


Name the asp objects?

985


Define asp?

1036


Can any body send me Some Interview Questions of ASP.Net 2.0 or Later to my mail id that is gauravscott@gmail.com

1841


Name the two properties which are common in every validation control?

1028


Explain the difference between the value-type variables and reference-type variables in terms of garbage collection?

996


What is Debit Memo & Credit Memo in Payables?

2036


Define querystring collection in asp?

979


What is server control

2011