FUNCTION dotted_identifiers_syntax

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION dotted_identifiers_syntax
      (str : STRING ) : BOOLEAN;
   LOCAL
      k : positive_integer;
      m : positive_integer;
   END_LOCAL;
      IF NOT EXISTS(str) THEN
         RETURN (FALSE);
      END_IF;
      k := parse_express_identifier(str, 1);
      IF k = 1 THEN
         RETURN (FALSE);
      END_IF;
      REPEAT WHILE k <= LENGTH(str);
         IF (str[k] <> '.') OR (k = LENGTH(str)) THEN
            RETURN (FALSE);
         END_IF;
         m := parse_express_identifier(str, k + 1);
         IF m = k + 1 THEN
            RETURN (FALSE);
         END_IF;
         k := m;
      END_REPEAT;
      RETURN (TRUE);
END_FUNCTION;

Referenced By

Defintion dotted_identifiers_syntax is references by the following definitions:
DefinitionType
 dotted_express_identifier STRING


[Top Level Definitions] [Exit]

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