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

Define extranet?

958


___________ and ____________ properity to be used to create localized version of a form

1925


can any one tell me about dot net framework not basic detail

1774


What is the difference between asp and html? Or why asp is better than html?

880


Is asp still supported by microsoft?

974


What is the difference between asp and acp?

1159


How do you administer security for my machine for an enterprise?

843


What is asp software?

911


Define a scripting language?

914


Define microsoft intermediate language (msil)?

867


how to implemet online examination in asp.net

2004


Define a dictionary object?

1035


what is the difference between #include directory in C,C++ and import java.packages in java

2067


Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.

2959


What are private assemblies and shared assemblies?

944