Hi,

In revision #5041, I started to implement automatic declaration of 
undeclared local variable.

For example, if you type:

   X = Sin(A)

And if X is not declared, then the IDE will automatically add:

   Dim X As Float

At the beginning of the function.

This is not finished yet. The following is missing:
- Support for FOR / FOR EACH loop variables.
- Detection of the [ ... ] array creation operator.
- Lot of tests.

Enjoy it!

-- 
Benoît Minisini

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to