form3line: prints a separator line from a given pattern

Description Usage Arguments Details Value Examples

View source: R/f0.rbsb1.code.r

Description

Prints a separator line from a given pattern. The line can be composite with the width argument. The pattern can comprise more than one character. General indentation is possible (gind). Even lines can have a different pattern(pat2).

Usage

1
form3line(len=50, pat="-_-", wid=3, gind="", pat2="_-_", imp=TRUE)

Arguments

len

Line length (without the general indentation.

pat

Pattern to use.

wid

Number of elementary lines.

gind

String to introduce as indentation.

pat2

Pattern to use for the even lines. If NULL, the pattern is common to all lines.

imp

Printing when TRUE or returning (FALSE)

Details

contrary to form3repeat \n are introduced at the end.

Value

character string or printing according to imp

Examples

1

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to form3line in rbsb...