It's not currently supported (see precompile.pike line ~1306, where id_flags is hardcoded to 0 in the call to map_variable()). Feel free to fix...
/ Henrik Grubbström (Lysator)
Previous text:
2003-02-18 22:32: Subject: cmod
How do I make a PIKEVAR in a .cmod static? The following
PIKEVAR string digits flags ID_STATIC;
(derived from how you make PIKEFUNs statuc) does not work at all. Neither do the more intuitive attempts
PIKEVAR static string digits;
or
static PIKEVAR string digits;
So what is the correct incantation?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)