#include "DBug12.h" /*************************************************************************************/ void main(void) { /* Variable Declarations */ char CmdLine[40]; /* used to hold the command line string */ /* Begin Function main() */ do { DBug12FNP->printf("\n\r>"); /* display a prompt */ DBug12FNP->GetCmdLine(CmdLine, 40); /* get a line of input from the user */ DBug12FNP->printf("\n\r"); /* go to the next line on the screen */ DBug12FNP->printf(CmdLine); /* echo the line back to the user */ } while (*CmdLine != 0) /* continue until a blank line is entered */ } /* end main */ /*************************************************************************************/