SP Misc/Other Functions

 ISPART()       Determines if a value is part of a set
 CURD()         Return current drive letter
 SBROWS()       Determine number of rows in a box
 ISPRN()        Detects printer ready (or not) on LPT1, 2 or 3
 SBCENTER()     Centers box coordinates
 SBCOLS()       Determine number of columns in a box
 EVALQ()        Evaluates a logical condition in a string
 ENDSWITH()     Determines if a string ends with another string
 PRNTFRML()     Prints a formletter created by formletr()
 CDIR()         Change Directory
 VARLEN()       Returns length of a variable  of any type

SP_VARLEN

VARLEN()

  Short:
  ------
  VARLEN() Returns length of a variable  of any type

  Returns:
  --------
  <nLength> => Length of variable

  Syntax:
  -------
  Varlength(expX)

  Description:
  ------------
  Converts expX to character with VAR2CHAR() and then
  returns its length

  Examples:
  ---------
   VARLEN(123.45)    //returns 6

   VARLEN(.F.)       //returns 3

   VARLEN(DATE())  //returns 8

  Source:
  -------
  S_VARLEN.PRG