Page 1 of 1

[Implemented] allow "Protected.l x,y,z"

Posted: Sat Jan 12, 2008 5:59 pm
by #NULL
what about making this possible?

Code: Select all

Protected.l len,pos
or even

Code: Select all

Global.l x,y,z

Posted: Sat Jan 12, 2008 7:36 pm
by dhouston
+1

I was planning to request this but you beat me to it. It would enhance readability.

Posted: Sun Jan 13, 2008 5:44 pm
by Psychophanta
Sorry, but at least I am absolutely against that kind of syntax. :?
Types should be only as postfix of variables. I even don't like much the current syntax of : Define.<type> when variables are written after it;
i mean it should be: Define.<type> or Define a.b,b.f ...etc. but never Define.<type> a,b,c ...etc.

BTW, the manual wrote:
Syntax
Define.<type> [<variable> [= <expression>], <variable> [= <expression>], ...]
and should be better like:
Syntax
Define[.<type>] | [<variable> [= <expression>], <variable> [= <expression>], ...]

Posted: Sun Jan 13, 2008 6:19 pm
by dhouston
Psychophanta wrote:Sorry, but at least I am absolutely against that kind of syntax. :?
Well, if it's implemented, we'll tie you down and tickle you until you agree to use it. :lol:

Posted: Sun Jan 13, 2008 7:27 pm
by #NULL
:lol:

Posted: Sun Jan 13, 2008 7:28 pm
by Psychophanta
:P