Command: getenv

NEST HelpDesk Command Index NEST Quick Reference
Name:
getenv - evaluates if a string is an evironment variable
Synopsis:
string getenv -> path true
string getenv -> false
Examples:
SLI ] (HOME) getenv
SLI [2] pstack
true
(/home/gewaltig)

SLI ] (NONEXISTING) getenv =
false

SLI ] (/home) getenv
false
Description:
getenv checks if the string is an environment variable. If
this is the case the path of the variable and true is pushed on the stack,
otherwise a false is pushed on the stack and the string is lost.
Remarks:
if getenv is used with the wrong argument (e.g. integer),
the SLI Session is terminated
Author:
docu by Marc Oliver Gewaltig and Sirko Straube
SeeAlso:
Source:
/builddir/build/BUILD/nest-simulator-3.3/nest-simulator-3.3/sli/slistartup.cc
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative