Search Locate Previous Next Contents

Win.Input – prompted user input

This is a modernised version of the classic ‘QuoteQuad’ cover which was probably the first utility any APLer used to write in the days of typewriter terminals. However it still has its uses:

name„Win.Input 'Please enter your name ...'
name„name Win.Input 'Please enter your name ...'

The optional left argument is the current value of the string. This will be returned unchanged if the user presses <Cancel>. Note the interesting alternative syntax:

name„'Fred'
name Win.Input„'Please enter your name ...'


Continue to: Win.Msg – information messages
© Copyright Causeway Graphical Systems Ltd 2003