Screenshots     Download     Pricing     Documentation     Tutorials     Resources     Contact     Forum     Search  

If Statement

The If Statement module allows you to create a condition on which the enclosed modules will get exected or not. This is similar to the conditional statements seen in the VBScript and other scripting languages. Using the interface you can compare RoboRealm variables against other variables or values to determine if the following modules should be executed or not.

Interface

Instructions

1. Specify the variable to test using the dropdown menus. Select [new] to create a new variable that is not already in the list.
2. Select the appropriate comparison
3. Select the comparison type. The comparison type helps specify how the comparison is performed. For example, if two strings "100" and "2" are compared as text "2" will be greater than "100", but if compared as integers then "100" will be greater than "2".
4. Specify the value to compare to. For variables use the dropdown list. For other static values such as numbers or strings simply type in the value.

See Also


Set Statement


If_Statement Related Forum PostsLast postPostsViews
about using many modules
looking at using a few modules and making robo files how do  i use like follow red object,then irobot ro...
11 months 4 528
Else block disabled
Hi everyody, I'm using an If statement in my .robo, and I need an Else block with it. But no matte...
2 years 2 750
interface
hello....i want to ask something that i'm not very clear, i want to do another GUI interface using VC++. it will...
3 years 6 745
if statement multiple conditions
Hi, In my program I introduced an if_statement, which includes more than one condition (3-4). Apparently, the if_s...
3 years 2 1392
using if statement module
Hi, I have a question in using if statement module. I have used different modules in...
3 years 4 1295
using different modules in pipe line
Hi, I want to use different modules in pipe line for different aims but still some of the modules m...
3 years 2 753
Roborealm sending out serial without a screen
Hi, I was wondering if its possible to keep the camera recording, and sending data over a serial connection, while...
3 years 2 857


© 2005 - 2012 RoboRealm. All Rights Reserved. | Contact | Glossary | Privacy | Disclaimer | Link to Us | Resources | Site Map