Difference between revisions of "Lua:writeBytes"
Jump to navigation
Jump to search
(Created page with ''''function''' writeBytes(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... ) '''function''' writeBytes(''Address'', ''Table'', ''Count'' ) Write the bytes to the given address …') |
|||
| Line 1: | Line 1: | ||
'''function''' writeBytes(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... ) | '''function''' writeBytes(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... ) | ||
| + | |||
'''function''' writeBytes(''Address'', ''Table'', ''Count'' ) | '''function''' writeBytes(''Address'', ''Table'', ''Count'' ) | ||
Revision as of 12:25, 21 February 2012
function writeBytes(Address, Byte1, Byte2, Byte3, ... )
function writeBytes(Address, Table, Count )
Write the bytes to the given address
Function Parameters
function writeBytes(Address, Byte1, Byte2, Byte3, ... )
| Parameter | Type | Description |
|---|---|---|
| Address | String or Integer | The address to write to |
| Byte1 | Integer | The first byte |
| Byte2 | Integer | The second byte |
| ... | Integer | All the other bytes (Max around 20) |
function writeBytes(Address, Table) Warning: Bugged in CE 6.1
| Parameter | Type | Description |
|---|---|---|
| Address | String or Integer | The address to write to |
| Table | Table | A table consisting of integers to be written to |