<pre>function pad0 N  if N < 10 then put "0" before N  return Nend pad0</pre>