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
Data:
- name -
Input
- type - data types
- init_value - Expressions
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: