Input by Alex Roper acr34@hotmail.com http://ti.50megs.com ICQ# 72316176 Yahoo ID: acr34 1. Introduction 2. Data/How To Use _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 1. Introduction This is meant as a substitute for the BASIC command "Input", and is used as such. 2. Data/How To Use Input Catagory: Keyboard Description: A routine for getting data in the form of text from the user. Inputs: Registers: HL=Pointer to zero terminated string to read data into Flags: None Others: None Outputs: Registers: None Flags: None Other: Zero terminated string that HL pointed to now has the data the user entered Registers Destroyed: All but AF, BC and DE Remarks: No need to specify the length, the entire 0 terminated string is used; make sure to put #include input.inc as the last line before .end; If the user presses enter the rest of the string is filled with spaces Example: Gets the user's name ld hl,username call input ret #include "input.inc"