I tried and its correct, the Dim declaration must be declared at top of
the procedure.
Thanks all.
--------------------------------------------------
From: "tobias" <[email protected]>
Sent: Monday, September 13, 2010 1:46 PM
To: "mailing list for gambas users" <[email protected]>
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
>> [email protected]
>> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user