BBjAppConfig::setProgramArguments

Description

In BBj 12.0 and higher, this method sets user-defined program arguments.

Syntax

Return Value

Method

void

setProgramArguments(BBjVector vector)

Parameters

Variable

Description

vector

BBjVector of user-defined program argument strings.

Return Values

None.

Remarks

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

Example

rem ' BBjAppConfig::setProgramArguments

rem ' The program can retrieve these values with ARGC/ARGV()
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
args! = bbjapi().makeVector()
args!.add("xyzzy")
appConfig!.setProgramArguments(args!)
print "setProgramArguments: ",appConfig!.getProgramArguments()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getProgramArguments

BBjAppServer

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