Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > createApplication |  |

createApplication

Syntax

    system.DBAdmin.createApplication [#application: "ApplicationName", #description: "DescriptionString"]

Description

Multiuser Server database command; adds a new DBApplication database object to the server. Application names may contain up to 100 characters. The description string may contain up to 255 characters.

Example

This statement creates a new DBApplication object for the movie called Checkers with a description of Two-player Checkers game:

    errCode = gMultiuserInstance.sendNetMessage("system.DBAdmin. createApplication", "anySubject", [#application: "Checkers", #description: "Two-player Checkers game"])

The server's response looks like this:

    [#errorCode: 0, #recipients: ["userName"], #senderID: "system.DBAdmin.createApplication", #subject: "anySubject", #content: [#application: "Checkers", #description: "Two-player Checkers game"], #timeStamp: 186034087]

See also

`connectToNetServer()`, `sendNetMessage()`