FUNCTION control_characters_free

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- IN AP203e2/AP214/AP238 STEP-NC/AP242
FUNCTION control_characters_free
      (s : STRING ) : BOOLEAN;
   LOCAL
      ch : STRING;
   END_LOCAL;
      REPEAT i := 1 TO LENGTH(s);
         ch := s[i];
         IF ((ch = '\x9') OR (ch = '\xA')) OR (ch = '\xD') THEN
            RETURN (FALSE);
         END_IF;
      END_REPEAT;
      RETURN (FALSE);
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
2020-07-28T17:02:20-04:00