Jump to content

SomPrefixLevel: Difference between revisions

From EDM2
Created page with "This function outputs blanks to prefix a line at the indicated level. ==Syntax== <PRE> long level; somPrefixLevel(level); </PRE> ==Parameters== ; level (long) : The level..."
 
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:somPrefixLevel}}
This function outputs blanks to prefix a line at the indicated level.
This function outputs blanks to prefix a line at the indicated level.


Line 25: Line 26:
===Functions===
===Functions===
* [[somPrintf]]
* [[somPrintf]]
* somVprintf  
* [[somVprintf]]
* somLPrintf  
* [[somLPrintf]]
* SOMOutCharRoutine  
* [[SOMOutCharRoutine]]


[[Category:SOM Kernel]]
[[Category:SOM Kernel]]

Revision as of 20:18, 12 October 2017

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