# Logic reasoning in AS 3.0?

**URL:** <https://forum.kirupa.com/t/logic-reasoning-in-as-3-0/298892>\
**Category:** programming\
**Created:** [October 26, 2009, 8:53pm UTC](https://forum.kirupa.com/t/logic-reasoning-in-as-3-0/298892 "2009-10-26T20:53:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadaj](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kadaj/32/9061_2.png) [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Post date:** [October 26, 2009, 8:53pm UTC](https://forum.kirupa.com/t/logic-reasoning-in-as-3-0/298892/1 "2009-10-26T20:53:57Z")

</div>

Hello dear friends,

my problem is related to logical reasoning.  
Q:

```auto
Color of all horses are red.
Amiga is a horse
What is the color of Amiga?

```

\>\> the answer must be red.

But how to convert it into actionscript code?  
Please give me some ideas.  
Thank You.
