Hi
I have a simple question,

I am writting a script where I ask the user to
input a three digit string.

AT (5,10) " Enter the three Digit Machine ID "
AT (6,10) " (eg 601) : " Gets $IMAGE

How do I limit the input to only three digits and how to I stop spaces from being inputed as part of the string.

???