Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Claculates the valid subsection number for the given line type and section type.
Syntax
protected int getSubsectionNumValid(
str _lineType,
str _sectionType,
boolean _forceNext)
Run On
Called
Parameters
- _lineType
Type: str
The line type.
- _sectionType
Type: str
The section type.
- _forceNext
Type: boolean
Pass true, if the next subsection number is required; false if current subsection number is required.
Return Value
Type: int
A valid subsection number for the given line type and section type.
Remarks
Zero is not a valid subsection number, so 1 is returned for the first subsection of the given line type and section type.