# Conditional Expressions

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/conditional-expressions
>
> Explains conditional expressions that return True or False (1 or 0), used in If and While Actions, with examples combining controls, functions and variables.

Conditional Expressions return False or True (0 or 1). These Expressions are usually used in the “If” and “While” Actions.

When editing an Expression of this type, you have available [Functions ](https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions.md)and all the Kalipso objects from where you can retrieve values ([Global Variables](https://doc.sysdevmobile.com/kalipso/6.1/documentation/environment/project-explorer/variables.md), [Controls ](https://doc.sysdevmobile.com/kalipso/6.1/documentation/controls.md)and [Local Variables](https://doc.sysdevmobile.com/kalipso/6.1/documentation/form/local-variables.md)). To use any of these items you just have to double-click it and it will be automatically added to the Expression.

### Examples:

* _Example 1_

CTRL(iProduct) = ""

* _Example 2_

CTRL(iProduct) = "" and CTRL(iStock) > 0
