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

/doc/efuns/values

HOME :: doc :: efuns :: values

     vvvvaaaalllluuuueeeessss((((3333))))              MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))               vvvvaaaalllluuuueeeessss((((3333))))

     NNNNAAAAMMMMEEEE
          values() - return an array of the values from the (key, value) pairs
                     in a mapping

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          mixed *values( mapping m );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          values() returns an array of values corresponding to the
          value elements in the (key, value) pairs stored in the
          mapping m.

          For example, if:

               mapping m;

               m = (["hp" : 35, "sp" : 42, "mass" : 100]);

          then

               values(m) == ({35, 42, 100})

          Note: the values will be returned in the same order as the
          corresponding keys.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          keys(3), each(3)

     Page 1                                          (printed 3/16/95)

HOME :: doc :: efuns :: values