Jump to content

String Constant Style

From LabVIEW Wiki
Revision as of 07:31, 20 August 2024 by Logmanoriginal (talk | contribs) (Created page with "{{LabVIEW VI Analyzer Toolkit Infobox|tree-category=block diagram|tree-subcategory=style}} '''String Constant Style''' is a VI Analyzer test installed by the LabVIEW VI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
String Constant Style

String Constant Style is a VI Analyzer test installed by the LabVIEW VI Analyzer Toolkit add-on. It checks the style of string constants on the block diagram. String constants containing no characters and string constants set to Normal Display that contain only white space - such as spaces, tabs, or line feeds - fail the test.

Explanation

String constants that contain no characters should be replaced with the Empty String Constant.

String constants that are set to Normal Display and contain only white space, should be set to '\' Codes Display to improve block diagram readability.