MOO-cows Mailing List Archive

[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [SUG] Two changes to the server



Roger Crew mumbled:
> 
> except that I figure if one is going to go to this trouble, one may as
> well instead do the substitutions
> 
>   player                   current_connection()
>   player = X               set_current_connection(X)
> 
> thus removing the current bogosity in which "player" is this weird-ass
> variable that receives special treatment accorded no other variable
> (w.r.t. when one is actually allowed to change it and how this affects
> nested calls).  

Second this!  I was writing a prioritising task scheduler thingy a while
back, and wanted to get the tracebacks going to the right person, so I
ended up having to do this bit of bogosity:

#4712:do_verb_call()
  player = args[5];
  #4712:really_do_verb_call(@args);

-manta
(Wiz, SchoolNet MOO)

References:
Home | Subject Index | Thread Index