MaxIDE X – new features

It’s midsummer… but out weather seems like autumn! Temperature is around 12°C (I’m living in a mountain zone… but in summer is normal a temperature about 25-30°C!!!!)

So no biking (today it’s raining of course…), no walking, no out in the air activity 🙁

So reading in the forum about the BMX-NG features I started thinking about some new things I would like to have in the IDE to help the user to write faster and without time-losses.

Already my MaxIDEX X have some automatism like ‘auto-clouser’ for While, Repeat, For, Function and so on.

Now I’m thinking to have something more useful.

  1. an automatism to ‘force’ (FUNCTION and METHOD) to have an automatic RETURN statement (already done in my 14.7beta)
  2. an automatic Function/Method definition for return value (in this case :INT) … it’s a work in progress 😛
  3. an automatism to type faster data-type for Local, Global, Field (WIP but I’m at good point- quite!)

1 & 2 means simple something like the following

If you type

Function MyFunction()

Now MaxIDE X creates

Function MyFunction()

End Function

with the next update (of course with option enabled) you’ll have

Function MyFunction:Int()

Return 0
End Function

Less typing, more ‘strict’

Point 3 is something I should implement years ago!

Imagine to write this

Local btn_start:Tgadget, btn_stop:Tgadget,btn_pause:Tgadget

It’s slow… and error can rise easy.

Now imagine this

Local btn_start,btn_stop,btn_pause>>Tgadget

and automatically MaxIDE X will convert it for you. Handy, it doesn’t?

At the moment only point 2) (add of Return) is working.
More next time.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close