[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SWPSETPID() / SWPSETPIDBAS()  Set program ID string for current program.
------------------------------------------------------------------------------

 Function : Set a program ID string for the current program.

 Syntax   : lValue = SWPSETPID(cIdString)

 Return   : True if the ID was set

 Set the program ID of the current application to cIdString. The maximum
 length of cIdString is 31 characters. If the string length is greater than
 31, the function will return false, and the program ID will not be set.

 A program ID can always be set, regardless of whether a program at a higher
 level has set the same ID. A child process of the current program can
 determine whether a given ID has been set using the function SWPGETPID().

 Example:

    * Set the program ID to "Test Program"
    IdStr = "Test Program"
    SWPSETPID(IdStr)

See Also: SWPADDSTR() SWPGETPID() SWPGETSTR() SWPSETSTR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson