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..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
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.


==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 23: 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