Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is "b" a stack operation?

Featured Replies

Hello,I am realizing that the Baron and 747 gauges are increasinly the best way to learn about XML gauge programming. I came across this in the ECU gauge for the baron and am curious about the "b" I see in the value section: (A:general eng1 throttle lever position,part) (A:Throttle lower limit,part) /-/ + b 1 + /What is that "b"?Thanks,J-

Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

  • Author

"b" is a backspace operator.It jumps the last stack entry and pop the beforelast, but WITHOUT poping (removing) the last. Examples:2 4 5 b = gives 4 and jumps 5 stack 2 4 5 + b = gives 5 and jumps + operator2 4 + 5 b = gives 6 jumps 53 5 b b = gives 5 and jumps the b operator 3 5 b b b = gives 3 and jumps the 54 5 7 b (>LVar1) (>LVar2) now LVar1 equals 5 and LVar2 equals 7 Tom

Thanks Tom.Is that documented somewhere and I missed it? I have the SDK stuff, Arne's stuff and the FS2X.com stuff for documentation.J-

Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

  • Author

It is not documented that I know. And BTW I find it rather confusing. I prefer to use other operators like "r" (though not the same meaning), registers (s,l) etc. Tom

Re: "confusing" couldn't concur more. What a "black art" this all is. However, I am forcing myself to make a panel using XML gauge scripting as a way to learn it better. This is the year I stop "lurking" as an add-on guy and start getting my hands dirty. I've found FSDS v3 a good inspiration as something about gMax wouldn't stick with me. As I've dabbled with modeling, I've also decided to try my luck with XML gauge stuff. So far, I have an OAT gauge (WHOOOOPEEEE!!!).Thanks for the help,J-

Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

In your first example, what's the state of the stack after calling the operator b?

Gerry Howard

  • Author

"b" examples:2 4 5 b = stack is 2 4 5 4 2 4 5 + b = stack is 2 9 5 2 4 + 5 b = stack is 6 5 6 Tom

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.