Regular API function

simPackDoubleTable / sim.packDoubleTable

Description Packs a table of double floating-point numbers into a string. See also sim.unpackDoubleTable and the other packing/unpacking functions.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
buffer data=sim.packDoubleTable(float[] doubleNumbers,int startDoubleIndex=0,int doubleCount=0)
Lua
parameters
doubleNumbers: a table containing double floating-point numbers. Non-numbers will be packed as zero values
startDoubleIndex: the zero-based index from which on data should be packed. Can be omitted in which case 0 is used
doubleCount: the amount of doubles that should be packed. Can be omitted in which case 0 is used (which indicates that the maximum available doubles should be packed from the indicated startDoubleIndex)
Lua
return values
data: a string (values between 0 and 255) that contains packed double floating-point numbers from the table
Python
synopsis
bytes data=sim.packDoubleTable(list doubleNumbers,int startDoubleIndex=0,int doubleCount=0)

<