form3indent: provides indentation of different levels

Description Usage Arguments Value Examples

View source: R/rbsa1.code.r

Description

returns a character to be used as indentation. The level of indentation is given by niv*monitor$ind$v times the character ele. New lines can be added first.

Usage

1
2
 
  form3indent(niv=1,cr=1,ele="",monitor=rbsa0$monitor$v) 

Arguments

niv

Level of indentation.

cr

Number of previous feed lines to first provide?

ele

String to repeat.

monitor

List of constants indicating the monitoring choices, see the rbsa0$monitor$v provided object as an example.

Value

a scalar string

Examples

1
2
3
 
  cat(form3indent(2),"Bien `a vous","\n"); 
  cat(form3indent(3),cr=3,"Bien `a vous","\n"); 

rbsa documentation built on May 2, 2019, 6:07 p.m.