[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

SetPrompt

Sets the CLI/shell prompt for the current process

Declaration

Source position: amigados.pas line 2341

function SetPrompt(

  const Name: STRPTR

):LongBool;

Arguments

Name

  

Name of prompt to be set.

Description

Sets the text for the prompt in the cli structure. If the prompt is too long to fit, a failure is returned, and the old value is left intact. It is advised that you inform the user of this condition. This routine is safe to call even if there is no CLI structure.

See also

GetPrompt

  

Returns the prompt for the current process


Documentation generated on: 2017-01-10