in reply to Re: XS debugging "failed to extend arg stack"
in thread [Solved] XS debugging "failed to extend arg stack"
I've come to the conclusion that you've hit an unfortunate case - the EXTEND macro evaluates its arguments several times
It sounds like you're saying that's the problem, but it took a a few reads to realize this isn't actually a problem here. The actual problem is the fact that the macro and the caller both use a var named ix.
NERDVANA said,
A good reminder to not use expressions inside macros.
The relevant lesson is to not use variable names in macros that could possibly be used outside the macro.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XS debugging "failed to extend arg stack"
by hv (Prior) on Jun 03, 2022 at 16:59 UTC | |
by Anonymous Monk on Jun 04, 2022 at 04:32 UTC | |
|
Re^3: XS debugging "failed to extend arg stack"
by NERDVANA (Priest) on Jun 03, 2022 at 16:58 UTC |