[Gambas-user] Dim :: Another newbie question

Lord Quo lord.quo at ...626...
Mon Sep 13 23:00:23 CEST 2010


    I tried and its correct, the Dim declaration must be declared at top of 
the procedure.

    Thanks all.

--------------------------------------------------
From: "tobias" <tobiasboe1 at ...20...>
Sent: Monday, September 13, 2010 1:46 PM
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Subject: Re: [Gambas-user] Dim :: Another newbie question

> hi,
>
>>     Hi again,
>>
>>     Local variables are declared with Dim, but, they need to be declared 
>> at top of the Sub procedure?
>>
>>     Thanks
>>
>> ___________________________
>> Lic. Daniel Quintero Rojas
>>
>> http://www.dquinter.com.mx
>> ___________________________
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> well, yes just try it out ;)
> i don't know the reason, but i think, it's the same because the gambas
> predefined classes are that dynamic that you shouldn't have to allocate
> them with a dynamic value, but if you really have to do that, you may
> use this function:
> Pointer = Alloc ( Size AS Integer [ , Count AS Integer ] )
> (see gambas documentation)
>
> regards,
> tobi
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> 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