Ä [32] HB-232 Charlie Test (500:10/12.1) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ HB-232_C Ä Msg : #3608 [257] Uns Loc From : Bill Cheek 500:10/12.1 Sun 27 Jun 93 01:12 To : All Subj : AND - OR Script Logic ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ .MSGID: 500:10/12.1 2c2d305f Hello All! It occurred to me that there is no AND - OR logic available in the HB-232 Script feature. Since it is not likely that we can add these elements for some time to come, the following is a nice workaround for when you need AND and OR logical operators. Follow with me as I set an example of each: AND LOGIC ========= - Desired, but NOT possible Script statement: IF FREQ = 158.970 AND CHAN = 43 THEN : : (do something; doesn't matter what for this example) : : ENDIF - Ok, it would be nice to do the above, but the below does the same thing! IF FREQ = 158.970 THEN IF CHAN = 43 THEN : : (do something; doesn't matter what for this example) : : ENDIF ENDIF Voila! Very useful AND logic! Now then............... OR LOGIC ======== - Desired, but not possible Script statement: IF FREQ = 158.970 OR CHAN = 43 THEN : (do something; doesn't matter what for this example) : ENDIF Ok, it would be nice to do the above, but the below does the same thing: IF FREQ = 158.970 THEN GOTO labelname ENDIF IF CHAN = 43 THEN labelname : : (do something; doesn't matter what for this example) : ENDIF And there you have it: AND and OR logic for your scripts. Bill --- GoldED 2.41+ * Origin: Hertzian Intercept Point, San Diego, CA (500:10/12.1)