[Gambas-user] Declaring several variables in one line

VBTricks.de.vu Webmaster vbtricks at ...451...
Sun May 9 11:20:25 CEST 2004


For declaring variables using the Dim-Operator, I seem to need one line 
per variable:

Dim a as string
Dim b as string

That costs a lot of lines (makes the source more complex in my eyes). Is 
there a way to declare multiple variables in one line, I've just 
overlooked, or is this not implemented (yet)?

Stefan

PS: if this is still to be implemented, what about the method of Delphi?

Delpi:
var i, n, z: integer;

Gambas (perhaps):
DIM i, n, z AS Integer

(Gambas does not have to adopt all the crap of VB)
_______________________________________________________________________________________________
Die einen haben es, die anderen werden es! http://my-mail.ch/?redirect=9905
Bei uns finden Sie trendige Geschenkideen und Wohnaccessoires! http://my-mail.ch/?redirect=1610





More information about the User mailing list