home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / get < prev    next >
Encoding:
Text File  |  1997-04-23  |  1.0 KB  |  40 lines

  1.     
  2.     _R_e_t_u_r_n _a _V_a_r_i_a_b_l_e'_s _V_a_l_u_e
  3.     
  4.          get(x, envir=NULL, mode="any", inherits=FALSE)
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.                x : a variable name (given as a quoted string).
  9.     
  10.            envir : the environent to be used.
  11.     
  12.             mode : the type of object sought.
  13.     
  14.         inherits : should the enclosing frames of the environ-
  15.                    ment be inspected?
  16.     
  17.     _V_a_l_u_e:
  18.     
  19.          This function searches the specified environment for a
  20.          bound variable whose name is given by the string x.  If
  21.          the variable's value is not of the correct mode, it is
  22.          ignored.
  23.     
  24.          If inherits is FALSE, only the first frame of the
  25.          specified environment is inspected.  If inherits is
  26.          TRUE, the search is continued up through the parent
  27.          frames until a bound value of the right mode is found.
  28.     
  29.          Using a NULL environment is equivalent to using the
  30.          current environment.
  31.     
  32.     _S_e_e _A_l_s_o:
  33.     
  34.          exists.
  35.     
  36.     _E_x_a_m_p_l_e_s:
  37.     
  38.          get("%o%")
  39.     
  40.