# n00b needs help

**URL:** <https://forum.kirupa.com/t/n00b-needs-help/186565>\
**Category:** flash\
**Created:** [April 22, 2006, 12:59pm UTC](https://forum.kirupa.com/t/n00b-needs-help/186565 "2006-04-22T12:59:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ploppy](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@ploppy](https://forum.kirupa.com/u/ploppy)\
**Post date:** [April 22, 2006, 12:59pm UTC](https://forum.kirupa.com/t/n00b-needs-help/186565/1 "2006-04-22T12:59:36Z")

</div>

Hi guys. can anyone tell me what these statements are telling me?

```auto
if (!fit)
{
    _root.pc.p1.gotoAndStop("empty");
    fit = 1;
    trace ("1");
}
else
{
    _root.pc.p1.gotoAndStop(_root.link);
} // end if
stop ();

```

And

```auto
if (!fit1)
{
    _root.pc.p1.gotoAndStop("empty");
    fit1 = 1;
    trace ("1");
} // end if
p1.gotoAndStop(_root.prev);
p2.gotoAndStop(_root.link);

```

The part which is puzzling me is the (!fit1) statement and the fit1 = 1;  
trace (“1”); statements. Am i correct in that (!fit1) means ‘not equal to’? Can anyone plz help? TIA

---

<div class="post-metadata">

**Author:** ![joran420](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joran420/32/2329_2.png) [@joran420](https://forum.kirupa.com/u/joran420)\
**Post date:** [April 22, 2006, 9:59pm UTC](https://forum.kirupa.com/t/n00b-needs-help/186565/2 "2006-04-22T21:59:38Z")

</div>

> [@ploppy](#):
>
> Hi guys. can anyone tell me what these statements are telling me?
> 
> ```auto
> if (!fit)
> {
> _root.pc.p1.gotoAndStop("empty");
> fit = 1;
> trace ("1");
> }
> else
> {
> _root.pc.p1.gotoAndStop(_root.link);
> } // end if
> stop ();
> 
> ```
> 
> And
> 
> ```auto
> if (!fit1)
> {
> _root.pc.p1.gotoAndStop("empty");
> fit1 = 1;
> trace ("1");
> } // end if
> p1.gotoAndStop(_root.prev);
> p2.gotoAndStop(_root.link);
> 
> ```
> 
> The part which is puzzling me is the (!fit1) statement and the fit1 = 1;  
> trace (“1”); statements. Am i correct in that (!fit1) means ‘not equal to’? Can anyone plz help? TIA

!fit means if not fit (so if its undefined or = to false)

then when you do fit = 1 its now defined so

!fit evaluates true and sets fit next pass ! fit will evaluate false
