Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#amunits]

SetProgramName

Sets the name of the program being run

Declaration

Source position: amigados.pas line 1719

function SetProgramName(

  const name: pCHAR

):LongBool;

function SetProgramName(

  const name: string

):Boolean;

Arguments

name

  

New Name of Program

Arguments

name

  

New Name of Program

Description

Sets the name for the program in the cli structure. If the name is too long to fit, a failure is returned, and the old value is left intact. It is advised that you inform the user if possible of this condition, and/or set the program name to an empty string. This routine is safe to call even if there is no CLI structure.

See also

GetProgramName

  

Returns the current program name


Documentation generated on: 2021-07-30