# Check if var is defined

**URL:** https://forum.kirupa.com/t/check-if-var-is-defined/110309
**Category:** Uncategorized
**Created:** [May 14, 2004, 1:07pm UTC](https://forum.kirupa.com/t/check-if-var-is-defined/110309 "2004-05-14T13:07:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![at0x](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@at0x](https://forum.kirupa.com/u/at0x)
#### Post date: [May 14, 2004, 1:07pm UTC](https://forum.kirupa.com/t/check-if-var-is-defined/110309/1 "2004-05-14T13:07:14Z")

</div>

Hello all,  
I’m displaying a variable into a textbox, but sometimes it’s value is unset (loading delay)  
I’m using loadVariables so the .onLoad won’t work…  
How can I check if a variable already has a value?
