somPrefixLevel

From EDM2
Jump to: navigation, search

This function outputs blanks to prefix a line at the indicated level.

Syntax

long   level;

somPrefixLevel(level);

Parameters

level (long) 
The level at which the next line of output is to start.

Return Code

Remarks

This function outputs blanks (via the somPrintf function) to prefix the next line of output at the indicated level. (The number of blanks produces is 2*level.) This function is useful when overriding the somDumpSelfInt method, which takes the level as an argument.

Example Code

#include <somcls.h>
somPrefixLevel(5);

Related

Functions