[Gambas-user] New feature in the IDE code editor

Benoît Minisini gambas at ...1...
Tue Aug 14 19:59:08 CEST 2012


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




More information about the User mailing list