Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

RE: Programming help

$
0
0
How about: allLPPs=foreach(mapcar lp techFile~>lps list(lp~>name lp~>purpose)) drawPat=pcreCompile("^drawing") metals=setof(lpp allLPPs car(lpp)=="M1" && pcreExecute(drawPat cadr(lpp))) This will find all the purposes that begin with "drawing" for M1. You can change the pattern to suit your needs. Regards, Andrew.

Viewing all articles
Browse latest Browse all 33813