The PRINTD procedure prints the contents of the directory stack maintained by the PUSHD and POPD procedures. The contents of the directory stack are listed on the default output device. The common block DIR_STACK is used to store the directory stack.
This routine is written in the IDL language. Its source code can be found in the file
subdirectory of the IDL distribution.