For those MUMPS veterans. you can also use the $ZSEARCH function. As in the example:
NEW $NAMESPACE
SET $NAMESPACE="USER"
SET file=$ZSEARCH("i*")
WHILE file'="" {
WRITE !,file
SET file=$ZSEARCH("")
}
WRITE !,"That is all the matching files"
QUITI think this one will be faster
- Log in to post comments