ID:134813
 
I'm sure this has come up before, but I can't seem to find anything about it on the forum. I was puzzled for a bit today because I named an argument to. I actually tried to name another one for, but the blue text was a nice give away. =)



mob/proc/send_message(to, from, msg)
to << "[from]: [msg]"

person.dm:69:error: missing left-hand argument to to.
person.dm:69:error: missing expression
person.dm:69:error: unexpected symbol: ,


In my defense, I hadn't actually used the variable and it was type casted so I didn't get the "missing left-hand argument to to" error. =P
Yeah, I've been bugging Tom about it for years. My best suggestion was allowing us to totally control what is and isn't highlighted (defaults existing of course).
YMIHere wrote:
I'm sure this has come up before, but I can't seem to find anything about it on the forum. I was puzzled for a bit today because I named an argument to. I actually tried to name another one for, but the blue text was a nice give away. =)

Oops, fixed.
In response to Tom
Do it for step too. >=(
In response to Ol' Yeller
Step_to or step to? Get it? HAHAHAHAHAHA <--insanity. ...eh... ffin pun. Well, yea id like to be able to highlight that too. If only we could highlight anything we wanted...in different colors too..
In response to Lou
Er, I meant the step in:
for(var/i=1 to 4 step 0.25)
In response to Ol' Yeller
Yea..i kno, didnt u see the insanity label and the pun thingy? Lolzorz...