Jump to content

SOM WarnMsg: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:SOM_WarnMsg}}
{{DISPLAYTITLE:SOM_WarnMsg}}
==Syntax==
This macro reports a warning message.
This macro reports a warning message.
<PRE>
string    msg;


SOM_WarnMsg(msg);
==Syntax==
</PRE>
string    msg;
SOM_WarnMsg(msg);


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


==Return Code==
==Return Code==
Line 18: Line 16:


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