You can use the special stdin file, which you can also access (if you prefer) as FileStream stdin. Like this:
line := stdin nextLine
or if you want a number
n := stdin nextLine asInteger
where is the dot(.)(.) from the end?
or is it not needed?
Copyright (C) Free Software Foundation, Inc. - Credits
GNU Smalltalk is part of the GNU Project.