How about having a specific function for that instead of (string)? The original magic '*' operator can be implemented using
array magic = ({"abc",({65,65,66}),"def"});
((array(string))magic)*"x"
without special code in '*', btw.
Per Hedbor () @ Pike (-) developers forum Mon, 09 Feb 2009 07:15:08 -0800
How about having a specific function for that instead of (string)? The original magic '*' operator can be implemented using
array magic = ({"abc",({65,65,66}),"def"});
((array(string))magic)*"x"
without special code in '*', btw.