# 
# Copyright(C) 1996, 1997 Network Flight Recorder, Inc. 
# All rights reserved. 
#       
# Use and distribution of this software and its source code 
# are governed by the terms and conditions of the 
# Network Flight Recorder Software License ("LICENSE.TXT") 
# 
 


pats = listadd( pats, pattern( "abc" ), pattern( "def" ), "AndThis" );

func foo {
    if ($1 inside pats) {
	echo( $1, " inside ", pats, "\n" );
    } else {
	echo( $1, " doesn't inside ", pats, "\n" );
    }
}

foo( "abc" );
foo( "def" );
foo( "hij" );
foo( "AndThis" );
