Jump to content

SomPrefixLevel: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 3: Line 3:


==Syntax==
==Syntax==
<PRE>
long  level;
long  level;
 
somPrefixLevel(level);
somPrefixLevel(level);
</PRE>


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


==Return Code==
==Return Code==
Line 24: Line 22:


==Related==
==Related==
===Functions===
;Functions
* [[somPrintf]]
*[[somPrintf]]
* [[somVprintf]]
*[[somVprintf]]
* [[somLPrintf]]
*[[somLPrintf]]
* [[SOMOutCharRoutine]]  
*[[SOMOutCharRoutine]]  


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

Latest revision as of 04:28, 6 May 2020

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