Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function bldarr() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION BLDARR()

  Short:
  ------
  BLDARR() Builds an array from a delimited string


  Returns:
  --------
  Nothing

  Syntax:
  -------
  BLDARR(aTarget,nCount,cDelimited)

  Description:
  ------------
  Fills in the elements of an existing array <aTarget>
  with <nCount> character values extracted from a delimited string
  <cDelimited> of the form "Garry:Wyn:Ralph:Ed". The colon [:] is
  the delimiter. The first parameter is an array of any length. It
  will be sized to fit.

  Examples:
  ---------
   aLunch := array(3)
   BLDARR(aLunch,3,"Pizza:Chicken:Burgers")
       // =>  {"Pizza","Chicken","Burgers"}

  Notes:
  -------
  Array must be declared prior to calling.
  Of course, in Clipper 5.01 you can also use:
  myarray := {"Pizza","Chicken","Burgers"},
  and this function is mainly here for compatibility.

  Source:
  -------
  S_BLDAR.PRG


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson