Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetShowErrorsInResult: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Result display method functions]]
{{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 04: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");

Availability

Version 5.4