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

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bpremove"></span>
  
 +
'''Function:'''  <i><!--CODE-->remove( sl : stringlist, i : integer ) ;</i><!--ENDCODE-->
  
 +
<!--TERM-->  '''sl'''
 +
<!--DEFINITION-->        the stringlist you are removing from
 +
<!--TERM-->  '''i'''
 +
<!--DEFINITION-->        the index you want to remove
 +
 +
This function allows you to remove a string from a stringlist with out
 +
leaving a blank spot in the stringlist.
 +
'''Example:  '''<i><!--CODE-->remove (sl, i);</i><!--ENDCODE-->
 
<span id="bpremove"></span>
 
<span id="bpremove"></span>
  

Latest revision as of 22:31, 4 December 2025

Function:  remove( sl : stringlist, i : integer ) ;
  sl
         the stringlist you are removing from
  i
         the index you want to remove
This function allows you to remove a string from a stringlist with out
leaving a blank spot in the stringlist.
Example:  remove (sl, i);

Function:  remove( sl : stringlist, i : integer ) ;
  sl
         the stringlist you are removing from
  i
         the index you want to remove
This function allows you to remove a string from a stringlist with out
leaving a blank spot in the stringlist.
Example:  remove (sl, i);