January 10, 200620 yr 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.
January 11, 200620 yr 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
January 12, 200620 yr 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.
January 12, 200620 yr 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
January 12, 200620 yr 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.
January 12, 200620 yr In your first example, what's the state of the stack after calling the operator b? Gerry Howard
January 13, 200620 yr 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