Read-eval loop with prompt + user input
Joern Eyrich
Joern.Eyrich at syngenio.de
Thu Mar 14 19:51:12 UTC 2002
Martin,
I don't think you can (easily) read input from the workspace under program control.
You can use something like
myUserName := FillInTheBlank request: 'Login:'.
myPassword := FillInTheBlank requestPassword: 'Password:'
in workspace code however to get two pop-up-dialogs for data entry.
Joern
Martin Drautzburg wrote:
>
> Bert Freudenberg <bert at isg.cs.uni-magdeburg.de> writes:
>
> > That's called a Workspace in Squeak. Open it from the world menu or the
> > right flap.
>
> Thanks, I wasn't aware of the fact that you don't have to highlight
> before pressing Alt-D. But how could I read user Input from the
> Workspace, other than commands. I mean something like
> login:
> password:
More information about the Squeak-dev
mailing list
|