DOG doesn't have a command to set or display the prompt.
You can easily do this with: SE PROMPT $p$g$_ and EH %PROMPT.
The request here is to create a DOG file called PP.DOG which checks for number of arguments and if it's 0 then it should display the prompt, else it set prompt to the value of the first argument.
DOG doesn't have a command to set or display the prompt.
You can easily do this with:
SE PROMPT $p$g$_
andEH %PROMPT
.The request here is to create a DOG file called PP.DOG which checks for number of arguments and if it's 0 then it should display the prompt, else it set prompt to the value of the first argument.