Function within a Function is a valid construct in BM.
Even BRL core modules use that and I use it very often for local functions that I otherwise would inline etc.
The only thing you have to take care of is that even a function within a function is its own variable space and only knows of application / module globals and stuff it was given on calling.
Even BRL core modules use that and I use it very often for local functions that I otherwise would inline etc.
The only thing you have to take care of is that even a function within a function is its own variable space and only knows of application / module globals and stuff it was given on calling.