Jump to content
Sign in to follow this  
Guest Skymed

Gvars vs LVars

Recommended Posts

Guest

HiJust curious about something. What is the main difference over using G:Var1 variables over L:Myvariable,type? From what I understand there is a limited amount of G:Vars, but L:Vars are unlimited. So why use G:Vars? I'm sure there must be a point to them.

Share this post


Link to post
Share on other sites
Guest bartels

G vars are only valid in the gauge where they are defined, whereas L vars can be used from all gauges to interact with each other.Arne Bartels

Share this post


Link to post
Share on other sites
Guest

Yes, I use this feature frequently, but there must exist a reason to use g:vars as well? Some/most of the microsoft gauges use g:vars, and some use l:vars.I mean, what does g:vars do that l:vars can't handle, must be something?

Share this post


Link to post
Share on other sites
Guest Skymed

As Arne pointed out.Gvars are individual gauge specific. That means, they ONLY work in the gauge that they are imbedded in.Lvars can be used in 1 gauge, and then the variable called up to be used in another gauge as well as the gauge that they are in.Clear as mud?

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...