How do I ask for input in Expect 5.42.1? In TCL, I use:

set a test;
gets stdin a;

This works fine in TCL, but doesn't work at all when I try to compile it in Expect. Anybody know how to ask for user input, and store the input into a variable?