FUNCTION dot_count

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION dot_count
      (str : STRING ) : INTEGER;
   LOCAL
      n : INTEGER := 0;
   END_LOCAL;
      REPEAT i := 1 TO LENGTH(str);
         IF str[i] = '.' THEN
            n := n + 1;
         END_IF;
      END_REPEAT;
      RETURN (n);
END_FUNCTION;

Referenced By

Defintion dot_count is references by the following definitions:
DefinitionType
 express_identifier STRING


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00