foreach var,ffind
Foreach operator. You can use foreach operator to look over files in some directory with the specified wildcard. The finfo structure will be returned for each found file. You must call ffind.init before using foreach.
ffind fd
fd.init( "c:\\*.exe", $FIND_FILE | $FIND_RECURSE )
foreach finfo cur,fd
{
print( "\( cur.fullname )\n" )
}
foreach variable,ffind {...}
Related links | Source |