write out programlisting element