# Syntax and if-else question

**URL:** <https://forum.kirupa.com/t/syntax-and-if-else-question/276653>\
**Category:** Uncategorized\
**Created:** [December 2, 2008, 10:54am UTC](https://forum.kirupa.com/t/syntax-and-if-else-question/276653 "2008-12-02T10:54:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willy](https://avatars.discourse-cdn.com/v4/letter/w/c2a13f/32.png) [@Willy](https://forum.kirupa.com/u/Willy)\
**Post date:** [December 2, 2008, 10:54am UTC](https://forum.kirupa.com/t/syntax-and-if-else-question/276653/1 "2008-12-02T10:54:50Z")

</div>

Hello everybody,

I am a newbie in AS 3.0 so please be nice for me. I have some questions.

- Is it possible to use a if without the else? if so why?

- and what is the syntax of a if-else statement?

I know that I first have to look around the forum, but the explanation is not quiet clear for me, so if some one can help me with this please I would be grateful.

Best Regards,

Willy the newb
