does subcube functions respect the current subcube

if I nest them inside a scope


FREEZE - I guess not

LEAVES - I guess yes

Is it true if I guess - Scripting Statements - no - Functions - yes


Re: subcube functions

Mosha Pasumansky

If by current subcube you mean "CREATE SUBCUBE" on the session, then it doesn't have effect on the statements in MDX Script such as FREEZE, since they are evaluated before session commands.

If by current subcube you mean what "this" evaluates to, then FREEZE respects it (because FREEZE is equivalent to FREEZE this) in nested SCOPEs and everything.