How can I store typed data of any length with a break on enter. In other words, if I type:

DEBUG "TYPE IN A NUMBER AND HIT ENTER"

How can I capture all numbers typed before the enter key was pressed and store them in a variable?