04-30-2022, 04:56 AM
Quote:Pete wrote: "DIM can also be used with TYPE statements."
I think Pete wanted to say this:
In older QB64 versions for typing of variables you have to use the DIM for every value like this :
Code: (Select All)
DIM A AS INTEGER
DIM B AS INTEGER
DIM C AS INTEGER
...
DIM X AS DOUBLE
DIM Y AS DOUBLE
DIM Z AS DOUBLE...
In the newer Versions (I don't know since which version number) you can write:
Code: (Select All)
DIM A, B, C AS INTEGER
DIM X, Y, Z AS DOUBLE