The library module is a console mode location algorithm that sets the column and row where text is located on a console.
There are two macros to make them more convenient to use.
coninpt MACRO colm,row,txt,buff,blen
rcall locate,colm,row
conout txt
rcall StdIn,buff,blen
ENDM
conoutpt MACRO tcolm,trow,args:VARARG
rcall locate,tcolm,trow
FOR var,<args>
IFIDN <var>,<lf> ;; line feed
stdout chr$(13,10)
ELSEIFIDN <var>,<tab> ;; tab
stdout chr$(9)
ELSEIFIDN <var>,<qt> ;; double quote "
stdout chr$(34)
ELSE
stdout reparg(var) ;; quoted text or normal text address
ENDIF
ENDM
ENDM
I have already added the macros to the main macro file and the module into the main library, they are included here for anyone who is interested in console display.