FUNCTION control_characters_free

(* SCHEMA step_merged_ap_schema; *)
-- 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 (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
2024-09-06T14:00:33-04:00