c++ k(...) function

Hi,

Is there some document showing definitions of function k and its parameters?

K r=k(handle,“functionname”,r1(param),(K)0);

What’s the (K)0 here and also (S)0 for receiving.


Thanks

JQ

the second parameter to k() is an S - a q expression.  if it requires parameters, append them to the k() argument list

if S is not null, the last argument must be (K)0

when the second parameter is (S)0, k() receives a async response as illustrated in the cookbook “Interfacing with C