SomPrefixLevel: Difference between revisions
Appearance
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..." |
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== | ||
long level; | |||
long level; | |||
somPrefixLevel(level); | |||
somPrefixLevel(level); | |||
==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 | |||
* [[somPrintf]] | *[[somPrintf]] | ||
* somVprintf | *[[somVprintf]] | ||
* somLPrintf | *[[somLPrintf]] | ||
* SOMOutCharRoutine | *[[SOMOutCharRoutine]] | ||
[[Category:SOM | [[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