Sha256: a0c13409a0136516a11fd4089dd076d6e4a1577d787e2c17d71f1ab956c0d1d9

Contents?: true

Size: 818 Bytes

Versions: 22

Compression:

Stored size: 818 Bytes

Contents

HERE

  DESCRIPTION
    Gloo scripts can use relative referencing to access objects
    without specifying the full path.  This relative referencing is
    referred to with the 'here' operator: ^

  EXAMPLE
    In the following script, the here reference is used several times:

      #
      # Use here reference.
      #
      here [can] :
        s [str] : local string
      	on_load [script] : show ^.s
        a [can] :
          s [str] : A string
          b [can] :
            s [str] : B string
            on_load [script] :
              show ^.s
              show ^^.s

    A single use of '^' means: refer to an object at the same level
    as the running script.  It tells the interpreter to 'look here'
    for the object.

    Use of two ^^ here references means to go up a level, and
    so forth.

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
gloo-lang-1.0.2 lib/gloo_lang/help/core/here.txt
gloo-1.0.0 lib/gloo/help/core/here.txt
gloo-lang-1.0.1 lib/gloo_lang/help/core/here.txt
gloo-lang-1.0.0 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.11 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.10 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.9 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.8 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.7 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.6 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.5 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.4 lib/gloo_lang/help/core/here.txt
gloo-lang-0.9.3 lib/gloo_lang/help/core/here.txt
gloo-0.8.0 lib/gloo/help/core/here.txt
gloo-0.7.7 lib/gloo/help/core/here.txt
gloo-0.7.6 lib/gloo/help/core/here.txt
gloo-0.7.5 lib/gloo/help/core/here.txt
gloo-0.7.4 lib/gloo/help/core/here.txt
gloo-0.7.3 lib/gloo/help/core/here.txt
gloo-0.7.2 lib/gloo/help/core/here.txt