SP_AFDECIX

AFDECIX()

  Short:
  ------
  AFDECIX() Returns an array of field DECIMALS for current dbf

  Returns:
  --------
  <aFields> => an array of field DECIMALS for the
  current dbf

  Syntax:
  -------
  AFDECIX()

  Description:
  ------------
  AFDECIX() creates and returns an array of field
  DECIMALS from the current dbf. Unlike AFIELDS(), it does not
  require an initialized array beforehand.

  Examples:
  ---------
   aArray := AFIELDSX()
   aDeci  := AFDECIX()
   if (nSelect := mchoice(aArray,10,10,20,20,"Pick Field")) > 0
      ?"Field "+aArray[nSelect]+" was selected"
      ?" with  decimals "+aDeci[nSelect]
   endif

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

2 responses to “SP_AFDECIX

  1. Pingback: SP Array Functions | Viva Clipper !

  2. Pingback: SP Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.