View Single Post
  #4  
Old 12-03-2008
tobias.biemueller tobias.biemueller is offline
Flexsim User
 
Join Date: Aug 2007
Location: Bielefeld, Germany
Posts: 42
Downloads: 22
Uploads: 0
Thanks: 23
Thanked 18 Times in 16 Posts
Rep Power: 162
tobias.biemueller is on a distinguished road
Default

You can also find a description of if - statements in the user commands and in the manual

I think he mean something ie.:

Code:
int i_returnport = 1;

if ( content(current) > 20)
{
     i_returnport = 2;
}

return i_returnport;
Best regards
Tobias
Reply With Quote