http://gambaswiki.org/bugtracker/edit?object=BUG.927&from=L21haW4-

Julio SANCHEZ reported a new bug.

Summary
-------

Variable Declaration declaration when used

Type             : Request
Priority         : Low
Gambas version   : Unknown
Product          : Language


Description
-----------

Hello:

Would it be possible to be admitted declare when going to be used, instead of 
having it to declare the beginning of a variable sub or function?

Example:
' Gambas module file

Public Sub Main()
'Declare of a variable the beginning  sub or function:
dim text as string="hello"

print text
...
...

'Variable Declaration declaration when used
dim i as integer
for i=0 to 10
    print i
next


end


Regards

Julio





------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to