Mirar @ Pike developers forum wrote:
Hm, if you work on the stack anyway, wouldn't it be easier to push what you want indexed, push_text("something") and call f_index(2)?
If that can handle an object/class pointer in 'portal', and then dereference it using a pikestring or svalue-string, yes.
It's not immediately clear that this works, since it is not documented anywhere, I learn mostly by grepping for sample code that does/did the same in the Pike repository.