Difference between revisions of "SetShowErrorsInResult"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:Result display method functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
 
  
=====setShowErrorsInResult=====
+
===== setShowErrorsInResult =====
  
Enables or disables the error message which can be shown for table diagrams .
+
Enables or disables the error message which can be shown for table diagrams .  
  
'''Syntax'''
+
'''Syntax'''  
  
setShowErrorsInResult(''enabled'')
+
setShowErrorsInResult(''enabled'')  
  
'''Arguments'''
+
'''Arguments'''  
  
''enabled: '' Is a boolean expression. If true the error message will be included, if false the error message will not be included
+
''enabled: '' Is a boolean expression. If true the error message will be included, if false the error message will not be included  
  
'''Return type'''
+
'''Return type'''  
  
empty
+
empty  
  
'''Examples'''
+
'''Examples'''  
  
''setShowErrorsInResult(true);''
+
''setShowErrorsInResult(true);''  
  
'''Availability'''
+
''bool b = getShowErrorsInResult();''  
  
Version 5.4
+
''if (b) print("The error message could be shown for table diagrams.");''
__NOTOC__
+
 
<!-- imported from file: 4220.htm-->
+
''else print("The error message could not be shown for table diagrams.");''
 +
 
 +
''//Result: The error message could be shown for table diagrams.''
 +
 
 +
''createFrequenceDiagram("S1");''
 +
 
 +
''[[Image:ShowErrorsInResult.jpg]]''
 +
 
 +
'''Availability'''
 +
 
 +
Version 5.4 __NOTOC__ <!-- imported from file: 4220.htm-->  
 +
 
 +
[[Category:Result_display_method_functions]]

Latest revision as of 06:30, 27 December 2011



setShowErrorsInResult

Enables or disables the error message which can be shown for table diagrams .

Syntax

setShowErrorsInResult(enabled)

Arguments

enabled: Is a boolean expression. If true the error message will be included, if false the error message will not be included

Return type

empty

Examples

setShowErrorsInResult(true);

bool b = getShowErrorsInResult();

if (b) print("The error message could be shown for table diagrams.");

else print("The error message could not be shown for table diagrams.");

//Result: The error message could be shown for table diagrams.

createFrequenceDiagram("S1");

ShowErrorsInResult.jpg

Availability

Version 5.4