[Gambas-user] Declaring several variables in one line

Daniel daniel.campos at ...338...
Sun May 9 11:29:46 CEST 2004


El dom, 09-05-2004 a las 11:20, VBTricks.de.vu Webmaster escribió:
> 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


This question has been sent to list before, Benoit said he will
implement that stuff in the future

Regards,

Daniel Campos



> 
> (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
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
> higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list