# \_global variable doesn't work ?!?!

**URL:** https://forum.kirupa.com/t/-global-variable-doesnt-work/151817
**Category:** Uncategorized
**Created:** [June 18, 2005, 9:12am UTC](https://forum.kirupa.com/t/-global-variable-doesnt-work/151817 "2005-06-18T09:12:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Bojan](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@Bojan](https://forum.kirupa.com/u/Bojan)
#### Post date: [June 18, 2005, 9:12am UTC](https://forum.kirupa.com/t/-global-variable-doesnt-work/151817/1 "2005-06-18T09:12:09Z")

</div>

I’m getting frustrating ☹

Why in Gods name this example doesn’t work???

**kirupa2** loads **kirupa1** in which is _gloal variable setup (_[font=Courier New][color=blue]global.\_myVariable = “XYZ”[/color][/font])

After clicking on **PLAY** button trace outcome is undefined!! Why??

You have example in [http://www.kirupa.com/forum/showthread.php?t=100814](http://www.kirupa.com/forum/showthread.php?t=100814)

Please help,
