RPGspInVal Function


Receives browser input and converts it to a numeric value. Equivalent to RPGspVal(RPGspIn()).


Syntax

RPGspInVal(name [: input type])

Part Description
name Required. Character expression representing the name of a numeric session variable, numeric cookie, numeric environment variable, numeric query string parameter, or numeric form field.
input type

Optional. Character expression containing one of the following:

  • 'Cookie' - indicates a cookie
  • 'SessionVar' - indicates a session variable
  • 'Env' - indicates an environment variable
  • 'Input' - indicates a form field or a query string parameter

The expression is not case sensitive. If omitted, the first available input is retrieved, with priority given to Form fields and Query string parameters, then Cookies and Session variables, then Environment variables.



Example

           C                   Eval      QTY = RPGspInVal('QTY':'Input')      


See Also

RPGspIn

RPGspVal


Profound Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925