Coherent call for sending raw RPN?

Is there a coherent call for executing a snippet of raw RPN code?

What is it you’re actually trying to do?

The only communication mechanism common to all 6 programming environments in MSFS is to read/write a common subset of the numeric simvars. It sounds like you’re looking for a JS version of “execute_calculator_code” that appears only in C++ WASM but that was part of the “Gauge” API that has recently been replaced with the “Vars” API which omits that capability.

What I’m trying to do is to figure out a method for reading and writing multiple parameter simulation variables from within javascript.

The capability exists for keyevents when using JS_LISTENER_KEYEVENT, so I was hoping that there might be something I’m missing within JS_LISTENER_SIMVARS. However, I’ve been unsuccessful with the various calls listed in the sdk docs thus far.

Hello @JimStewart

I don’t think there’s a native JS way to do this unfortunately.
(This is in our backlog so hopefully we’ll have one in the not so distant future)

At the moment, unless I’m forgetting something, I’d say the “best” way to do this is to Get/Set those simvars from a WASM module and use the CommBus API to send/retrieve whatever you need in JS.

Regards,
Sylvain

Thanks for the reply & info @FlyingRaccoon. I know you all have plenty in the backlog, but will look forward to this one being addressed.