BBjspHashMap::setBoolean (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 16.0 and higher, this method adds a boolean value to the map.

Syntax

Return Value

Method

void

setBoolean(string key, Object val)

Parameters

Variable

Description

key

The key.

val

The boolean value.

Return Value

None.

Remarks

None.

Example

declare BBjspHashMap map!

map! = BBjAPI().makeBBJSP().makeBBjspHashMap()

map!.setBoolean("V1","TRUE") map!.setBoolean("V2",0) map!.setBoolean("V3",1.23)

print map!

See Also

BBjspHashMap

BBjspHashMap::getBoolean()