BBjAppConfig::getProgramArguments

Description

In BBj 12.0 and higher, this method returns the user-defined program arguments for this program.

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 ' BBjAppConfig::getProgramArguments

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 "getProgramArguments: ",appConfig!.getProgramArguments()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setProgramArguments

BBjAppServer

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