#delim ; prog def htmlimg; version 14.0; /* Insert a HTML tag into an open file. *|Author: Roger Newson *!Date: 18 December 2018 */ syntax name [ , ATtributes(string) ]; /* attributes specifies document attributes to be passed to the tag. */ * Write tag. *; if `"`attributes'"'=="" {; file write `namelist' "" _n;; }; else {; file write `namelist' `""' _n; }; end;