Q: Assignment on declare

new topic     » topic index » view thread      » older message » newer message

I'm sure this been mentioned before, but it just came to my thought
recently that being able to assign values to variables at the same
declaration. This feature is awkwardly avalable to constants in that
you can do this:

constant Blah = "blah" or 1234 (Works)
etc.

But for anyother declaration it isn't supported:
object Blah = "blah" or 1234 (Error)

This is the alternative:
object Blah  Blah = "blah" or 1234 (Works)

Ofcourse this isn't a big deal, it just would make sense to be able
to assign values at the same time as declaring it's type and name,
which is currently able to be done with constants.

What do you all think?

Perhaps Robert Craig can put this small suggestion for 2.6 or possibly
right before the offical release of 2.5?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu