SetShowErrorsInResult: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import  |
No edit summary  |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{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);'' Â | ||
'' | ''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
