[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  XPreadEnv()
  Read an environment string from the original Env.
------------------------------------------------------------------------------

  Function:    XPreadEnv()

               Just like Clipper's GetEnv(), but changes made with XPsetEnv()
               are correctly refelected here.

  Syntax:      XPreadEnv(cVar)

  Arguments:   <cVar> is the variable one wishes to read.

  Returns:     The Environment's variable value, or "" when
               it is not found.

  Usage:       * Assuming PROMPT is $p$g
               XPsetEnv('PROMPT','(Shell) '+GetEnv('PROMPT'))
               ? XPreadEnv('PROMPT')  && Returns "(Shell) $p$g"
               ? GetEnv('PROMPT')   && Returns "$p$g"

See Also: XPsetEnv()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson