Recommended Posts

There is any kind of initialization section in XML gauge? Some section to use for initialize G: variables the first time it load?If not, what is the value of an initialize variable?Thanks

Share this post

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

You can do this many different ways but some info would be needed for example, is the G:Var you are going to initialize ever going to reach zero while in use? If not an if{ } statement could be used easily.(G:Var1) 0 == if{ INITIALIZE (>G:Var1) }While if it is going to reach zero during operation it must be referenced to another variable(s).(G:Var1) 0 == (G:Var2) 0 == & if{ INITIALIZE (>G:Var1) + 1 (>G:Var2) }This will work easily if all 8 G:Vars are not used in your application, otherwise you would have to reference to an internal FS variable or L:Var. Roman(KGRB)

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