A86: string inputting


[Prev][Next][Index][Thread]

A86: string inputting




here is the code from TI to input a string.
is there anyway to set a limit to how many chars are
to be inputted

call    _clrScrn         ;
call    _homeup          ; cursor to top left
ld      de,_ioprompt
ld      hl,str_prmpt
call    _mov10b          ; 
LD      HL,(_CLEANTMP)
PUSH    HL		     
LD      HL,(_PTempCnt)
LD      (_CLEANTMP),HL    ;
ld      a,0Ch
ld      (_asap_ind),a    ; set for 'inputstring'
call    _exec_pg3        ; 
call _stoans ;
POP     HL		     ; HL=PREVIOUS CLEANTMP   ld     
(_CLEANTMP),hl
ret




str_prmpt:
.db      "Prompt = ",0


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com