Support numeric arguments in FOR commands

Signed-off-by: nigel <nigel.cook@hp.com>