Error Messages/41036
Error message
Recursive or cyclic dependency -- the definition of F depends directly or indirectly on itself. F - G - H - F If you intend for F to be recursive, check the checkbox. Do you want to edit the Definition of F? [ ] Mark F as recursive [Yes] [No]
Description
When you define a User-Defined Function that depends on itself, either directly or indirectly through multiple function calls, you create a recursive or cyclic dependency. Unless you did this intentionally in order to implement a recursive function, this indicates you probably made a mistake, and this message about the cyclic dependency can assist you in finding where the mistake lies. The sequence of functions listed on the second line shows you how the dependency arises. In the example, We can see that function F calls function H, which calls function G which calls function F, creating the dependence of F on itself.
If you really do intend to create a recursive function, then you should just check the checkbox. This will set the Recursive attribute for the function to 1, which then accepts a recursive definition without reporting an error.
Enable comment auto-refresher