#

"Seth I. Rich" (sir@po.cwru.edu)
Wed, 17 Jan 1996 08:57:14 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    >How is call_function("notify", player, "SPAM"); any different from
    >eval("notify(player, \"SPAM\");")?  I fail to see how this adds any new
    >functionality to the server, just maybe a slightly more convienent form
    >than eval in some cases.

    How about comparing
      call_function("notify", player, foo);
    with
      eval("notify(player, " + FOO + ");");
    ...?  The latter leaves you wide-open for people to slip in nasties, while using call_function() makes you safer.

    Seth / Blackbriar
    ---------------------------------------------------------------------------
    Seth I. Rich - sir@po.cwru.edu                         no, no quote.
    Rabbits on walls, no problem.                          it's far too cold.