Environment.this

Constructs a new Environment. This constructor cannot be used to create the global Environment.

  1. this(Environment par, string nam)
    class Environment
    this
    (
    Environment par = null
    ,
    in string nam = "<environment>"
    )
  2. this(Interpreter interpreter)

Parameters

par Environment

The parent environment, which should be null when the global environment is created

nam string

The name of the environment. When script functions are called this is set to the name of the function being called.

Meta