Jump to content

SOM WarnMsg: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:SOM_WarnMsg}} ==Syntax== This macro reports a warning message. <PRE> string msg; SOM_WarnMsg(msg); </PRE> ==Parameters== ; msg (string) : The warning mess..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:SOM_WarnMsg}}
{{DISPLAYTITLE:SOM_WarnMsg}}
This macro reports a warning message.


==Syntax==
==Syntax==
This macro reports a warning message.
string    msg;
<PRE>
SOM_WarnMsg(msg);
string    msg;
 
SOM_WarnMsg(msg);
</PRE>


==Parameters==
==Parameters==
; msg (string) : The warning message to be output.  
;msg (string) : The warning message to be output.


==Return Code==
==Return Code==
Line 16: Line 13:


==Remarks==
==Remarks==
If SOM_WarnLevel is set to a value greater than zero, the SOM_WarnMsg macro prints the specified message, along with the filename  
If SOM_WarnLevel is set to a value greater than zero, the SOM_WarnMsg macro prints the specified message, along with the filename and line number where the macro was invoked.
and line number where the macro was invoked.  
 
==Example Code==
<PRE>
</PRE>


==Related==
===Methods===
===Methods===
* [[SOM_Error]]
*[[SOM_Error]]


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

Latest revision as of 01:48, 6 May 2020

This macro reports a warning message.

Syntax

string    msg;
SOM_WarnMsg(msg);

Parameters

msg (string)
The warning message to be output.

Return Code

rc

Remarks

If SOM_WarnLevel is set to a value greater than zero, the SOM_WarnMsg macro prints the specified message, along with the filename and line number where the macro was invoked.

Methods