How can I use gremlin-console to remotely create and access variables? : <p>I remotely connect to a gremlin server using gremlin-console(which is janusgraph), but when I create a variable and access it, it doesn't work. My ultimate goal is to use gremlin-console to create index...</p>

<pre><code>gremlin&gt; :remote connect tinkerpop.server conf/remote.yaml
==&gt;Configured localhost/127.0.0.1:8182
gremlin&gt; :remote console
==&gt;All scripts will now be sent to Gremlin Server - 
[localhost/127.0.0.1:8182] - type ':remote console' to return to local mode
gremlin&gt; a = "b"
==&gt;b
gremlin&gt; a
No such property: a for class: Script3
Type ':help' or ':h' for help.
</code></pre>
