Page 1 of 2

Please make Syntax of Protected conform to Define

Posted: Tue Jun 16, 2009 2:30 pm
by Kaeru Gaman

Code: Select all

  Protected.i Font1, Font2, Font3
and

Code: Select all

Global.i Font1, Font2, Font3
produce Syntax Errors, while

Code: Select all

Define.i Font1, Font2, Font3
does not.

would be nice if the shorter version would be avaliable for Protected and Global, too.

Posted: Tue Jun 16, 2009 3:55 pm
by AND51
Don't forget Static :)

Posted: Tue Jun 16, 2009 5:12 pm
by blueznl
-1

Euh... are we still allowed to use +1 -1 to indicate if we like something or not?

(I don't like this syntax change by the way, I just prefer to use -1 as opposed to typing ' I don't like this syntax change by the way '...)

Posted: Tue Jun 16, 2009 5:30 pm
by mback2k
I don't think it would break anything, it could just be an additional way to declare things, just like with Define.

Posted: Tue Jun 16, 2009 5:45 pm
by Demivec
I think it should be added for consistancy. The previous syntax would still apply and could be used as well if that was preferred.

Posted: Tue Jun 16, 2009 6:06 pm
by Fred
Good idea.

Posted: Tue Jun 16, 2009 6:38 pm
by Marco2007
I think, this is the first request ever, which is really useful for everyone!! :D
Best request!

Posted: Tue Jun 16, 2009 7:33 pm
by AND51
Marco2007 wrote:this is the first request ever
No.
Marco2007 wrote:which is really useful for everyone
Yes. I'm looking forward to this feature! :o

Posted: Tue Jun 16, 2009 8:04 pm
by Marco2007
AND51 wrote:No
Sorry, the first request since I´ve joined :)

Posted: Tue Jun 16, 2009 9:58 pm
by Psychophanta
I already posted the same request time ago :o
...at least i was dreaming...

Posted: Tue Jun 16, 2009 10:01 pm
by Kaeru Gaman
Fred wrote:Good idea.
that sounds like music! thank you.
Psychophanta wrote:I already posted the same request time ago :o
...at least i was dreaming...
if so, I'm sorry.
I did a search if I could find such a topic, and there was none... at least on the first pages.

Posted: Thu Jun 18, 2009 6:38 am
by Rescator
Yeah I gotta say I like this idea.

If I define only a few variables I usually mix'em up, using .i, .l etc.
But when a lot of variables are defined I tend to use multiple defines,
thus splitting the defining of strings on one line and integers on one.

Re: Please make Syntax of Protected conform to Define

Posted: Sun Jul 12, 2009 10:31 pm
by Blue
Kaeru Gaman wrote: ...
would be nice if the shorter version would be avaliable for Protected and Global, too.
I want to add my backing to this request.
So, definitely +1.

Although i remember that this very same suggestion was made quite a while ago.

Posted: Thu Jul 30, 2009 5:23 pm
by mrjiles
Don't forget about the Declare statement!

Posted: Thu Jul 30, 2009 5:26 pm
by Kaeru Gaman
Declare? for Procedures?
... I think that is something completely different... *BOOOM*