pathnames {pathname}+ {option value}* | [Macro] |
Creates an item stream of pathnames. Each pathname may be a file name (string), an integer or an item stream. If an integer, pathname is treated as an index into a list of pathnames specified to the item stream using the pathlist option. Each pathname is merged against an optionally specified directory and file type to produce a fully specified pathname.
pathnames implements the following option value pairs:
Example:
? (setf x (pathnames "hi" "ho" "silver.aiff" "away" type "aifc" in rotation for 8)) #<ROTATIONAL-PATHNAME-STREAM @ #x107c66a2> ? (read-items x) ("/sounds/alban/hi.aifc" "/sounds/alban/ho.aifc" "/sounds/alban/silver.aiff" "/sounds/alban/away.aifc" "/sounds/alban/ho.aifc" "/sounds/alban/silver.aiff" "/sounds/alban/away.aifc" "/sounds/alban/hi.aifc")
See Also:
Item Streams, *pathnames-default-name*