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

    Not referenced by any other definition


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00