This Space R←⎕THIS

⎕THIS returns a reference to the current namespace, that is, to the space in which it is referenced.

If NC9 is a reference to any object whose name-class is 9, then:

      NC9NC9.⎕THIS
1

Examples

      ⎕THIS
#
      'X'⎕NS ''
      X.⎕THIS
#.X
     'F'⎕WC'Form'
     'F.B'⎕WC'Button'
      F.B.⎕THIS
#.F.B

      Polly⎕NEW Parrot
      Polly.⎕THIS
#.[Parrot]

An Instance may use ⎕THIS to obtain a reference to its own Class:

    Polly.(⊃⊃⎕CLASS ⎕THIS)
#.Parrot

or a function (such as a Constructor or Destructor) may identify or enumerate all other Instances of the same Class:

      Polly.(⎕INSTANCES⊃⊃⎕CLASS ⎕THIS)
1