BBjApplication::getProgramArguments

Description

In BBj 12.0 and higher, this method returns a BBjVector of user-defined program arguments.

Syntax

Return Value

Method

BBjVector

getProgramArguments()

Parameters

None.

Return Values

Returns a BBjVector of user-defined program arguments.

Remarks

User-defined program arguments can be retrieved by the BUI program using the ARGC and ARGV() functions.

Example

rem ' BBjApplication::getProgramArguments

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
vector! = appServer!.getAllAppNames()
if (vector!.size()) then
    for i = 0 to vector!.size() - 1
        appName$ = vector!.get(i)
        app! = appServer!.getApplication(appName$)
        print appName$," getProgramArguments: ",
        print app!.getProgramArguments()
    next i
endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.