# Naming Global Variables

**URL:** <https://discourse.notenik.app/t/naming-global-variables/370>\
**Category:** Questions\
**Created:** [December 8, 2023, 11:03pm UTC](https://discourse.notenik.app/t/naming-global-variables/370 "2023-12-08T23:03:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malcolm](https://discourse.notenik.app/letter_avatar_proxy/v4/letter/m/e19b73/32.png) [@Malcolm](https://discourse.notenik.app/u/Malcolm)\
**Post date:** [December 8, 2023, 11:03pm UTC](https://discourse.notenik.app/t/naming-global-variables/370/1 "2023-12-08T23:03:40Z")

</div>

Is there any difference between these two commands?

```auto
<?set "i" = 0 ?>

<?set i = 0 ?>

```

Quoting variable names is accepted, but is it necessary?

---

<div class="post-metadata">

**Author:** ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)\
**Post date:** [December 9, 2023, 7:27pm UTC](https://discourse.notenik.app/t/naming-global-variables/370/2 "2023-12-09T19:27:53Z")

</div>

There is no difference. The quotation marks should only be necessary when the thing you are entering contains spaces (since spaces are used as separators). Since a variable name is normally not entered with spaces, the quotation marks generally aren’t needed for variable names that are being set.
