<set-prompt-command> ::= set prompt <prompt> <prompt> ::= <blank-free-string> | ` <string> '
set prompt `[!] ' set prompt `>> '
LP replaces the first exclamation mark (!) in <prompt>, if any, by the number of the next command. LP numbers commands entered from the terminal by consecutive integers. It numbers commands obtained during execution of a script (.lp) file by appending a period followed by consecutive integers to the number of the execute command; thus command 5.2.3 is the third command in the script file executed in response to the second command in the script file executed in response to the fifth command typed by the user.