# The Editor example Variables - Scalar.robot might have a slight syntax error

**URL:** <https://forum.robotframework.org/t/the-editor-example-variables-scalar-robot-might-have-a-slight-syntax-error/4131>\
**Category:** Robot Framework\
**Created:** [1 July 2022 22:08 UTC](https://forum.robotframework.org/t/the-editor-example-variables-scalar-robot-might-have-a-slight-syntax-error/4131 "2022-07-01T22:08:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![garrettw](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@garrettw](https://forum.robotframework.org/u/garrettw)\
**Post date:** [1 July 2022 22:08 UTC](https://forum.robotframework.org/t/the-editor-example-variables-scalar-robot-might-have-a-slight-syntax-error/4131/1 "2022-07-01T22:08:03Z")

</div>

In the test case “Test With Environment Variables” on lines 27 to 30, the example has the following code:

> ```
> Log To Console The /%{USER} is: %{USER}
> Log To Console The /%{HOME} is: %{HOME}
> 
> ```

which produces in the console:

> ```
> The /web_user is: web_user
> The //home/web_user is: /home/web_user
> 
> ```

Which seemed a little off to me. Tweaking the code by changing forward slash (/) to back slash () you get the following in the console:

> ```
> The %{USER} is: web_user
> The %{HOME} is: /home/web_user
> 
> ```

which I believe is the intended output, as it makes it clearer for purposes of demonstration both how to comment out variables, as well as showing what the environmental variables are equal to.

Hope this is helpful feedback!
