Just passed 6 months since my last post.
In these days I had the time to implement some new features I posted in the past.
The actual version (not still online) has 2 improvements for ‘strict’ language.
Functions – now – can have a RETURN statement automatically typed, and the return’s type is – of course – the same of the function’s type.
This means that you can write
Function Quote$()
and MaxIDE X will complete everything with
Function Quote$() Return "" End Function
of course all the type-symbols are recognized (% ! $ # @) and the literal ones (String, Int, Float, Double, Short, Byte, Long).
User-defined type are (at the moment) not supported. I still thinking about it (I presume will put a NULL return if no type is recognized correctly)
The second features I’ve fully implemented is about variable’s definition.
In Strict/Superstrict you need to define the variable’s type (Int, Long Double, Float etc).
Now (it works with the keywords Local, Global and Field) you can type
Local a,b,c>>Int
and MaxIDE X will transform (automatically, when hit RETURN key) it in
Local a:Int,b:Int,c:Int
Of course you can use an user-defined type (like TGadget or TMyType)
I think this should be a ‘standard’ feature in every IDE: it’s faster and safer.
Both the options can be enabled or disabled in the Options panel in MaxIDE X
Just the time to fix/change some other things and then I can upload source and .exe online.