Sign in to follow this  
Guest rkruijer

Condition in print statement

Recommended Posts

Hi,Can I have a condition in a print statement? (L:Ginit,bool) if{ Print TRUE } els{ print FALSE} I know this is not the right syntax but just to give you an idea what I am looking for.Thanks,Roelof

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

>>Can I have a condition in a print statement?>Yes! I found it somewhere. Something like this will do the job.%((P:Simulation rate, number) 1 <)%{if}%((P:Simulation rate, number))%!1.2f!%{else}%((P:Simulation rate, number))%!3.0f!%>Roelof

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this