I am trying to use a pointer to a communication handle that is in a pointer array.
This OptoScript code compiles:
p2pSocketPtr = p2pSocketPtrs[p2pPmIdx]; p2pIoChannelStatus = ListenForIncomingCommunication(*p2pSocketPtr);
This does not:
p2pIoChannelStatus = ListenForIncomingCommunication(*p2pSocketPtrs[p2pPmIdx]);
I get the following error message:
Error on line 42: Unable to find variable or command “*p2pSocketPtrs”
1 error(s), 0 warning(s)
Is there a trick to de-referencing a pointer to communication handle when that pointer is in a pointer table?