Basic - automatic variable declaration: Dim =, Dim As =

variable declaration is used for its creation.

Dim =, Dim As =

Description

 Dim name = par2
 Dim name = init_value
 Dim name  As type = init_value
Used keywords: = as dim
Data:
  • name -

Input

compatible programing languages:
Visual Basic .NET | FreeBASIC

Examples

Basic

Other pieces of example codes:
Dim x As single= 3.14159265359
Dim x As long= -12345
Dim x As integer= -1234
Dim x As double= 3.14159265359
automatic variable declaration in another programming language:
Differences to:
Languages: en hu cz sk