I have a need to exclude posts based on a custom field type. It will probably be a field such as "legacy" or "depricated". I searched for an example on how this would be done but I haven't found anything worth while. Any help would be appreciated.
<?php
$software = array('post_type' => 'software', 'category_name' => $model);
query_posts( $software );
get_template_part( 'loop', 'software' );
wp_reset_query();
?>