98下:<br>procedure printonechar(_chr:char);<br>begin<br>asm<br> mov ah,1<br> mov al,_chr<br> mov dx,0<br> int 17h<br>end;<br>end;<br><br>procedure printstr(_str:string);<br>var<br>ct:word;<br>begin<br> for ct:=1 to length(_str) do<br> printonechar(_str[ct]);<br>end;<br><br>procedure printCRLF;<br>begin<br> printonechar($D);<br> printonechar($A);<br>end;<br><br>procedure printoneline(_str:string);<br>begin<br> printstr(_str);<br> printCRLF;<br>end;<br>