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
Line 1: Line 1:
{{DISPLAYTITLE:SOM_WarnMsg}}
{{DISPLAYTITLE:SOM_WarnMsg}}
==Syntax==
==Syntax==
This macro reports a warning message.
This macro reports a warning message.
Line 10: Line 9:


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


==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 Kernel]]

Revision as of 21:22, 27 February 2020

Syntax

This macro reports a warning message.

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