◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── The Assign function assigns a function to a keystroke, defines a macro, or sets a PWB switch. You can also assign keys and set switches by using the commands in the Options menu. To see the current assignment for a key or the definition of a macro, use Options Keys Assignments or the Tell function («tell»). See: Tell, ◄Available Keys Note► Assign («assign») Performs the assignment using the text on the current line. If the line ends with a line continuation, PWB uses the next line, and so on for all continued lines. See: ◄Backslash: TOOLS.INI Line Continuation► Arg Assign («arg» «assign») Same as Assign, except uses text starting from the cursor. Arg <textarg> Assign («arg» <textarg> «assign») Performs the assignment using the specified <textarg>. For example, to set the Tabstops switch to 8: 1. Execute Arg («arg») 2. Type the switch assignment 'tabstops:8' 3. Execute Assign («assign») Arg mark Assign («arg» mark «assign») Performs the assignment using the text from the line at the cursor to the specified mark. The <mark> argument can be either a line number or a previously defined mark name. See: Mark Arg <boxarg> │ <linearg> │ <streamarg> Assign («arg» <boxarg> │ <linearg> │ <streamarg> «assign») Performs the assignment using the selected text. Ignores blank and comment lines. Returns True: Assignment successful. False: Assignment invalid. See ◄Customizing PWB with TOOLS.INI► ◄Update: Assign► ◄Defining Macros► -♦-