QB64pe icon indicating copy to clipboard operation
QB64pe copied to clipboard

Allow simple variables to be initialized using Dim/ReDim

Open a740g opened this issue 2 years ago • 2 comments

Allow simple variables to be initialized using Dim/ReDim.

For example:

Dim i As Integer = 20
Dim As Long b = 100
Dim fname As String = "screen.png"
Dim As Single x = 34.2, y = 45.5, z = 56.3
Dim s As String = "Hello", x As Long = -45, c As Byte = 32

Probably, later we can expand this to support array initialization :)

a740g avatar May 09 '22 10:05 a740g