Isn’t calling ^addtopic(~foo) supposed to put ~foo onto the pending topics stack?
This code does not seem to alter the pending topics stack.
u: GET_VAR_1 (!$var1)
^log(\n this is the pending stack: ^command( :pending) )
^addtopic( ~foo-getInfo)
^log(\n this is the resulting stack: ^command( :pending) )
^respond(~foo-getInfo)
the initial stack looks like: ~foo ~introduction
the second stack looks like: ~foo ~introduction
Now, my topic: ~foo-getInfo is configured as a system topic. But the doc says that ^addtopic is supposed to cure that.
Finally, the compiler says that the function ^pendingtopics() requires a parameter… so I couldn’t use it in the code.
Stephen G.