FUNCTION control_characters_free

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP203e2
-- IN AP203e2/AP214/AP242
FUNCTION control_characters_free
      (s : STRING ) : BOOLEAN;
   LOCAL
      ch : STRING;
   END_LOCAL;
      REPEAT i := 1 TO LENGTH(s) BY 1;
         ch := s[i];
         IF ((ch = '\x9') OR (ch = '\xA')) OR (ch = '\xD') THEN
            RETURN (FALSE);
         END_IF;
      END_REPEAT;
      RETURN (TRUE);
END_FUNCTION;

Referenced By

Defintion control_characters_free is references by the following definitions:
DefinitionType
 presentable_text STRING


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00