Insert names matching wildcard
ArborX


Summary
The script below inserts the names of all files that match the specified wildcard into the current stream.

The script below inserts the names of all files that match the specified wildcard into the current stream:

 ^match=c:/3d/*.3d 3
 ^blank= 5
 tflist "^match"^ 7
 :loop 9
 ?=^tflist,^blank trun -1 11
 @^tflist^tfliste^ 13
 #13 15
 tflist 17
 {loop 19

Similar techniques of looping are frequently used with tflist since it is only very rarely that you actually want the first item in a list to be listed.


Document created on 01-Jan-2001, last reviewed on 05-Sep-2002 (revision 1)