Asp Variables
# ASP Variables
* * *
Variables are used to store information.
* * *
![Image 2: Examples](
## Try It - Examples
(
Variables are used to store information. This example demonstrates how to declare variables, assign values to them, and use them in programs.
(
Arrays are used to store a series of related data items. This example demonstrates how to declare an array that stores names.
(
This example demonstrates how to use a loop to generate 6 different HTML headings.
(
This example demonstrates how to display different messages to users based on server time.
(
This example is similar to the previous one, demonstrating how to display different messages based on server time, but with different syntax.
* * *
## Variable Lifetime
Variables declared outside procedures
```
YouTip