Difference between revisions of "Manual:DIL Manual/subextra()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bpsubex"></span>
 +
subextra ( var e : extraptr, s : string )
 +
    e : Extra description list to remove element from.
 +
    s : String matching .names field in element
 +
    result: Removes first extra description from list with matching name.
  
 +
<emp>CAVEAT</EMP> builder: You cannot use an extraptr variable as the e
 +
argument, but you may continue to use the following form:
  
 +
    ...
 +
    ...
 +
    subextra (self.quests, "Bozo's Quest");
 +
    ...
 +
    ...
 +
 +
---~---~---~---~---~---~---~---~---
 
<span id="bpsubex"></span>
 
<span id="bpsubex"></span>
 
  subextra ( var e : extraptr, s : string )
 
  subextra ( var e : extraptr, s : string )

Latest revision as of 22:31, 4 December 2025

subextra ( var e : extraptr, s : string )
   e : Extra description list to remove element from.
   s : String matching .names field in element
   result: Removes first extra description from list with matching name.
<emp>CAVEAT</EMP> builder: You cannot use an extraptr variable as the e
argument, but you may continue to use the following form:
   ...
   ...
   subextra (self.quests, "Bozo's Quest");
   ...
   ...
---~---~---~---~---~---~---~---~---

subextra ( var e : extraptr, s : string )
   e : Extra description list to remove element from.
   s : String matching .names field in element
   result: Removes first extra description from list with matching name.
<emp>CAVEAT</EMP> builder: You cannot use an extraptr variable as the e
argument, but you may continue to use the following form:
   ...
   ...
   subextra (self.quests, "Bozo's Quest");
   ...
   ...
---~---~---~---~---~---~---~---~---