Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added JS equivalent


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Since roByteArray supports the ifArray interface, it can be accessed with the [] array operator. The byte array is always accessed as unsigned bytes while this interface is being used. This object also supports the ifEnum interface, and so can be used with a FOR EACH statement. 

The JavaScript equivalent is Blob(). Note that JavaScript now has typed arrays (for example, Uint8Array) . 

ifByteArray

WriteFile(file_path As String) As Boolean

...

Sets an entry of a given index to the passed type value.