ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示

/doc/efuns/replace_program

HOME :: doc :: efuns :: replace_program

     rrrreeeeppppllllaaaacccceeee____pppprrrrooooggggrrrraaaammmm((((3333))))     MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))      rrrreeeeppppllllaaaacccceeee____pppprrrrooooggggrrrraaaammmm((((3333))))

     NNNNAAAAMMMMEEEE
          replace_program() - replaces the program in this_object()

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          void replace_program( string str );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          replace_program() replaces the program in this_object() with
          that of an object it inherits.  The string argument is the
          filename of the object whose program is to be used.  Once
          the replacement takes place, the current object effectively
          becomes a clone of that other object, but with its current
          filename and global variable values. The program is not
          actually replaced until the current execution is completed.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          clone_object(3), new(3)

     Page 1                                          (printed 3/16/95)

HOME :: doc :: efuns :: replace_program