我想将光标放在“论文:”之后,等待输入 ENTER,然后将其放在“作者:”之后。这两个句子都是打印的已定义变量。
insert db "******* Insert new paper *******",0,0Ah,0Ah,0Ah, 0Dh, "$"
inserttitle db " Title of paper: ",0Dh,0Ah,0Ah, " Name of author(s): ",0Dh ,"$"
mainext db ,0Ah,0Ah,0Ah,0Ah,0Ah,0Ah,0Ah,0Ah," <<Main>> <<Next>>","$"
INSERT NEW PAPER
newpaper proc
call clrscr
mov dx, offset insert
call printf
mov dx, offset inserttitle
call printf
mov dx, offset mainext
call printf
call w8click
ret
newpaper endp