December 10, 20223 yr Hi, I am trying to get my head around some scripting in Axis & Ohs and wondered if anyone could please help. This reverse scripting is very new to me. I am trying to carry out an OR operation between: (A:CIRCUIT·SWITCH·ON:20,·bool) and (A:CIRCUIT·SWITCH·ON:17,·bool) I want to use the result to determine whether or not to turn on an LED via midi (this part I can do). It is the syntax of the OR operation that I am struggling with. My initial thoughts were: (A:CIRCUIT·SWITCH·ON:20,·bool) (A:CIRCUIT·SWITCH·ON:17,·bool) OR (>L:Result) I am assuming the result to be 1 unless they are both 0. Thanks, Daz Edited December 10, 20223 yr by Dazzlercee23
December 10, 20223 yr Commercial Member Quote (A:CIRCUIT·SWITCH·ON:20,·Bool)·(A:CIRCUIT·SWITCH·ON:17,·Bool)·or·if{·...whatever....·} RPN is stack based logic. The operator comes after the operands have been pushed on the stack Check this out: Reverse Polish Notation (flightsimulator.com) And of course the AxisAndOhs manual, because the AAO uses an expanded instruction set for RPN, beyond what the simulator can do. Edited December 10, 20223 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.