◄Macro Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── The Prompt function displays the Text Argument dialog box where you can enter a text argument. You can use this function interactively, but because it is mainly useful in macros, it is not assigned to a key by default. You usually use Lasttext or Arg to directly enter a text argument. Prompt («prompt») Displays the Text Argument dialog box without a title. See: Lasttext Arg Prompt («arg» «prompt») Uses the text of the current line from the cursor to the end of the line as the title. Arg <textarg> Prompt («arg» <textarg> «prompt») Uses <textarg> as the title. Arg <boxarg> │ <linearg> │ <streamarg> Prompt («arg» <boxarg> │ <linearg> │ <streamarg> «prompt») Uses the selected text as the title. If the selection spans more than one line, the title is the first line of the selected text. Returns True: Textarg entered; the user chose the OK button. False: The dialog box was canceled. See Assign ◄Customizing PWB with TOOLS.INI► -♦-