Is it possible to have One suffix e.g. [0..359] and use it for different Prefixes
So let's say I am using a flight sim program and I want to have the ability to set the heading of the autopilot and the course for the VOR.
SO I want to say "Heading 330" with Heading being a prefix and the 330 part of the suffix
I also want to say "Course 330" with Course being a prefix and the 330 part of the suffix
Is this possible? Thanks.
UPDATE: Figured it out. Create a multipart Prefix and within the code for it do the following (My example)
e.g. Command would be Course; Heading
My example is for Course and Heading and a value for the suffix between 0 and 360 [0..360]
Begin Text Compare: [{CMD}] contains 'c'
Execute code for Prefix that contains the letter c (Course)
Else
Execute code for Prefix that doesn't contain the letter c (Heading)
End Condition