# Simple "IF" statement question

**URL:** https://forum.kirupa.com/t/simple-if-statement-question/217833
**Category:** flash
**Created:** [March 2, 2007, 9:40am UTC](https://forum.kirupa.com/t/simple-if-statement-question/217833 "2007-03-02T09:40:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kptgreg](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@kptgreg](https://forum.kirupa.com/u/kptgreg)
#### Post date: [March 2, 2007, 9:40am UTC](https://forum.kirupa.com/t/simple-if-statement-question/217833/1 "2007-03-02T09:40:48Z")

</div>

I have been reading manuals for hours and can find this. I am loading some text from a XML file, if there is no text at all I want to go to frame 5. If there is text do nothing. I can’t find out how to write this. I tried things like:

if (songtitletwo\_txt \< 0) {  
gotoAndPlay(5);  
}

Anyone know how to write this. Songtitletwo\_txt is my variable that has or doesn’t have text in it.
