form3ind: provides indentation of different levels

Description Usage Arguments Value Examples

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

Description

returns a character to be used as indentation. The level of indentation is given by niv*rbsb.min times the character ele. When cr, a line feed is made at first.

Usage

1
form3ind(niv=1, cr=TRUE, ele="")

Arguments

niv

Level of indentation.

cr

Must a line feed provided first?

ele

String to repeat.

Value

a scalar string

Examples

1
2
3
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 cat(form3ind(2), "Bien `a vous", "\n");
 cat(form3ind(3), "Bien `a vous", "\n");

rbsb documentation built on May 31, 2017, 1:45 a.m.

Related to form3ind in rbsb...