efuns - mappings - map_delete

MudOS v21c2

map_delete(3)�� MudOS v21c2�� (5 Sep 1994)

������:
    �� map_delete() -�� �Թؼ��ִ�һ��ӳ�������ɾ��һ�� (�ؼ���, ����ֵ) ((key, value)).
���﷨:
    �� void map_delete( mapping m, mixed element );

    �� �޷���ֵ map_delete( ӳ�� m, ��� element );

���÷�:
    �� map_delete ɾ��ӳ������йؼ��ַ��� element�� �� (�ؼ���, ����ֵ) .

    �� ����:
    ��

      �� mapping names;

      �� names = ([]);
      �� names["truilkan"] = "john";
      �� names["wayfarer"] = "erik";
      �� names["jacques"] = "dwayne";

    �� ��:
    ��
      �� map_delete(names,"truilkan");
    �� ��ʹӳ����� names ��Ϊ:
    ��
      �� (["wayfarer" : "erik", "jacques" : "dwayne"])
    �� �� map_delete( names, "truilkan" ) ֮��, key(names) �Ͳ������ truilkan (���Ǻ������� ("truilkan", *) �� truilkan �ӻ�ӳ�������)

���ο�: ������:
    �� Spock @ FF 97.Feb.18.�� (printed 3/16/95)

�ص���һҳ