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.array
call. 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).
Returns: v - void return
Arguments: a - array pointer
s - socket pointer or integer specifying the channel number with value from 0 to 5
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |