A86: Re: Input (yes another input question)
[Prev][Next][Index][Thread]
A86: Re: Input (yes another input question)
A few problems: _getky doesn't pause and you need to access the string
indirectly (with paranthesis); you also need to start with (string+0) The
idea works though.
>
>After what Dux just said about using .db to input I got to thinking. I
>was wondering would this code work for getting a 3 char string?
>
>
>
>KeyLoop:
> call GET_KEY
> ld string+1,a
> call GET_KEY
> ld string+2,a
> call GET_KEY
> ld string+3,a
>
>Other_Code:
> ......
>
>
>
>string:
> .db 0,0,0
>
>Wouldn't that work? Or am I just thinking in another programming
>language?
>
>Just curious,
>
>Matt
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com