MOO-cows Mailing List Archive
Re: [SERVER] triggers OR Re: wish lists
Date: Wed, 24 Jul 1996 20:15:24 PDT
From: Matthew Hapke <firstname.lastname@example.org>
Content-Type: text/plain; charset="us-ascii"
>A much nicer syntax would be:
>Which suspends the current task until <object>.<property> has changed. At
>which time, the task is requeued for execution, and it can perform the
>condition itself and wait again if necessary.
> incoming_old = this.incoming_message;
> wait(this, "incoming_message");
> if (this.incoming_message != incoming_old)
> this:tell("[AOL guy] You have new mail!");
Now this is a feature I would love to see. How many of us out there have a
scheduler or three waiting around, suspending checking tasks, or have an
enterfunc verb that looks as if it should be shot?
For VR type functions, this would be a great time saver, and code saver, as
far as lag goes..
Subject Index |