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 afieldstype() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION AFIELDSTYPE()

  Short:
  ------
  AFIELDSTYPE() Returns an array of field names of particular type

  Returns:
  --------
  <aFields> => an array of field names of the selected type(s)

  Syntax:
  -------
  AFIELDSTYPE(cTypes)

  Description:
  ------------
  <cTypes> is a string containing one or more field
  type symbols

  Valid symbols are:

       C   character    N   numeric
       L   logical      D    date          M   memo

  If no fields of the specified type(s) exist, an empty
  array will be returned.

  Examples:
  ---------
   aMemos := AFIELDSTYPE("M")  // an array of memo fields
   aNums  := AFIELDSTYPE("N")  // an array of numeric fields
   aNums  := AFIELDSTYPE("LD")  // an array of date &logical fields

  Source:
  -------
  S_AFTYPE.PRG


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