MetaCmnds1.txt '-------------------------------------------------------------- ' 'Meta Commands overview - used in MultiProgSx1 '--------------------------------------------- 'Ultrasonic behaviour rules ' New ' --- ' Meta command "a" changed to "I" for include and Prog/Option ' ' Meta command "A" eliminated - use I,x,0 instead ' ' Explanation that meta command 'I' can allow a US behaviour to ' transfer control to another behaviour. ' Introduction of a meta command 'J' to allow a jump to another ' program without any return address being put on the stack. ' "I" if selected by the test then includes a Prog/Option, ' first parameter is prognumber, second is Option. ' Return address is stacked. ' "I" can be used to run any program + option including ' US behaviours, however yawn variables values will be ' inherited. ' "X" if action ="X" then ignore that result. ' "J" if action ="J" then jump to new program, no stack action ' first parameter is prognumber, second is option ' so we can even run another US behaviour. ' If the Option is 0 then the jumped to Prog will be forced ' to check the stack and so acts as RETURN. ' Yawn ' ---- ' The yawn rules are special in that when an outcome of ' other rules is activated scanning through the rule set is ' terminated, however the "Y" rule only tests whether the ' next rule should be used, and the "y" rule only resets ' the "yawn" variable before the rule following it is used. ' The first parameter byte for "Y" or "y" is the index to ' the yawn variable, 0=>usyawn0, 1=>usyawn1. ' The second parameter byte is the threshold ' "Y" if selected by the test increments 'usyawnX'. ' If 'usyawnX'> threshold then skip the following rule. ' "y" if selected then resets 'usyawnX' to 0 ' so select same parameters for rule to be skipped for both Y, y ' 'Sequences 'Sequences ' z - terminator for sequences ' J - Jump to another Program, where option is selected ' from Program's name table ' "J",,