[1765] - posted: 2015-02-23 12:32:14Fixed for next release, was an major issue with scope related to macros. Thanks for report.Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.

[1870] - posted: 2016-12-18 22:16:31After some careful consideration, I've decided not to fix this and instead remove access to local variables outside the sub function scope, instead they should be passed to the sub function.

Several reasons made me come to this decision, the first is that automatically, the base function would need to push the stack pointer to the sub function and for sub-sub functions would require 2 pushed stack pointers, this is extremely inefficient, and I would never advise anyone programs like this.

The sub functions work great as a way of simplifying a function. As for your code, you just need to replace in your recursive p1 call to "x" instead of "y".