ID:913059
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
It's nice that I can declare variables like this:
var x, y = 2, turf/z
// instead of this:
var/x
var{x; y=2; turf/z}

But there's an inconsistency that I don't like. The for() loops don't accept "var x". That is, "var[SPACE]x". The for() loops require the slash in there, and they're the only things that do.
for(var/x in 1 to 10) //  works as expected
for(var x in 1 to 10) // doesn't work; inconsistent

Gimme some space.
I second this
support
Bump
When you're doing
var x, y = 2, turf/z
the space acts as a tabbed line break, much as
set category = "Whatever"
does; it has the same effect doing it as so
set
name = "dsgoidjsg"
category = "Whatever"


So when you're doing
for(var x in 1 to 10)
it does:
for(var
x in 1 to 10)


I highly discourage this to be implemented.
In response to Galactic Soldier (#4)
//  similarities between slash and space

set name = "blah"
set/name = "blah" // yes, it does this, too

var x = "bloop"
var/x = "bloop"
var
x = "bloop"

// however
for(var/x in a to b step c)
for(var x in a to b step c) // invalid

I don't understand your argument, considering the slash acts the same as a space in plenty other situations.