Skip to content

Commit 329511b

Browse files
authored
Merge pull request #3 from andrMollo/Fix-WriteByteArrToFile
Added second argument to WriteByteArrToFile
2 parents 8ec1ea5 + 07522e6 commit 329511b

File tree

1 file changed

+1
-1
lines changed
  • visual-basic/algorithms/fso/io/write-binary-file

1 file changed

+1
-1
lines changed

visual-basic/algorithms/fso/io/write-binary-file/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The below snippet will overwrite the data in the destination binary file
1212
Dim arr(5237) As Byte
1313
arr(0) = 12: arr(1) = 1: arr(2) = 0
1414
...
15-
WriteByteArrToFile("C:\MyFolder\MyFile.dat")
15+
WriteByteArrToFile "C:\MyFolder\MyFile.dat", arr()
1616
~~~
1717

1818
Code will automatically create new file if it doesn't exist.

0 commit comments

Comments
 (0)