[TF] recasting
Brought to you by:
kenkeys
|
From: fbneal at mac.c. (B. Neal) - 2003-04-02 16:00:03
|
At 10:12 -0500 4/2/03, jobs wrote:
>
>
>I tried this several diff ways
>/if P1 == infravision|\
>/if (%P1 == infravision|\
>/if (%P1 == (infravision|\
>/if (P1 == infravision|\
>/if (P1 == (infravision|\
Try: /if ({P1} =~ "infravision")
'==' is numerical equality, =~ is string equality.
You may want to look at '=/' which matches glob patterns, so you
could say /if ({P1} =/ {infravision | ultravision | hypervision |
overvision} ...
/help expressions will be your friend.
B
--
Brent Neal
Geek of all Trades
"Specialization is for insects" -- Robert A. Heinlein
|