socket.write.array
Syntax
- v = socket.write.array(a,s)
Write FISH variables from an array through a socket. This call should be paired with a
socket.read.arraycall. The number of FISH variables is automatically handled.Note
This function uses the same parameter encoding as described in
socket.write, with the addition of passing the size of the incoming array. This is passed as a 64 bit signed integer indicting the number of array dimensions, then a 64 bit signed integer indicating the size of each dimension, in order.Each array value is then passed in row-primary order (lower dimensions are iterated first).
| Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Jun 15, 2025 |