BBjTemplatedString::getFieldNames

Description

In BBj 11.0 and higher, this method returns a BBjVector containing the names of fields in a BBjTemplatedString.

Syntax

Return Value

Method

BBjVector

getFieldNames()

Parameters

None.

Return Value

Returns a BBjVector containing the names of fields in a BBjTemplatedString.

Remarks

None.

Example

t$ = "NAME:C(32*),CONTEXT:U(2),CODE:U(1),ID:U(2):mask=000:,OBJTYPE:I(2)"
t! = bbjapi().makeTemplatedString(t$)
print "Template: ",
print t!.fattr()
print "Names: ",
print t!.getFieldNames()

See Also

String Templates

BBjAPI

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