@variable won't work in FRank

I have defined a variable @BC with setvar and it works well in the port/sim. However, when I try to use it in an FRank expression, I get the following message:
“Value not set for temp variable @bc uid 23998”
Is this broken or is it me?

Thanks!!!

Don

In a port/sim FRank (and the other cross sectional functions) run before the SetVars, so what you are trying to do is not possible right now. It was done along time ago when we had slow 32 bit machines so that the FRanks are run in parallel by multiple machines. We will need to change this, also to support other enhancements.

It works in the screener because it uses a different architecture.

Regards