next up previous contents index
Next: Deleting strings Up: Strings Previous: Testing strings

Inputting strings interactively

 


tex2html_wrap_inline33790 tex2html_wrap_inline33790 Syntax

BD>readstring : N= tex2html_wrap_inline33712

BD- tex2html_wrap_inline33712

where N is the name of a string, and S is the string.

tex2html_wrap_inline33806 tex2html_wrap_inline33806

We use the READSTRING:  command to prompt for interactive input of a string. The command typically will be issued from a file being run as as part of a macro. When it is issue, the prompt

BD- tex2html_wrap_inline33712

will appear on the screen, and you should type in the string S, followed by the `Enter' key to terminate it. The string so defined is then available for use in exactly the same way as strings defined via the more usual STRING:  command. If you press the `Enter' key immediately on receiving the prompt, the string will be defined as empty. 



David Wooff
Wed Oct 21 15:14:31 BST 1998