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

  Short:
  ------
  TRUEVAL() Returns val of ALL numerics in a string

  Returns:
  --------
  <nValue> => all numerics value

  Syntax:
  -------
  TRUEVAL(cString)

  Description:
  ------------
  Removes all non-numeric characters from a <cString>,
  and then converts it to numeric.

  Examples:
  ---------
   cString := "SUPERFUNCTION Library version 3.00"

   cNumber := TRUEVAL(cString)

   // (returns 3.0)

  Source:
  -------
  S_TRUEVA.PRG


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