As far as I know at the moment EB doesn't support static variables in SUBs and even no static class methods or static class vars. Is it planed to implement this features in EB in the future?
I know one can live without them but in some cases it could be very useful ;)
Static in subs is already planned.