Modify ↓
Opened 17 years ago
Closed 17 years ago
#835 closed Feature Request (Rejected)
Recursion depth macro
| Reported by: | weaponx | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | recursion | Cc: |
Description
Would it be possible to have a macro that contains the current depth of a recursive function?
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
I agree with Valik recursion level must be handle inside the func itself with a global variable if needed.
Note:
See TracTickets
for help on using tickets.

Why? If you're talking about the depth of a single function then track it yourself via a global variable. If you're talking about overall recursion I think that will just be confusing to people.