### Variable scopes for Basic syntax

Declaring a scope for your variable regulates its availability through different parts of your report. See Variable declarations using Dim and Variable Scope (Basic syntax).

The variable scopes available are:

- Dim
- Local
- Global
- Shared.

Dim specifies a variable with local scope. Local and Dim are equivalent keywords.

###### Related topics

Variable overview (Basic syntax)

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com