Difference between revisions of "BINFILETOSTR()"

From Lianjapedia
Jump to: navigation, search
(Created page with "==Purpose== Function to read a binary file into a string ==Syntax== BINFILETOSTR(<expC>) ==See Also== BIN2I(), BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(),...")
 
(No difference)

Latest revision as of 08:11, 4 March 2019

Purpose

Function to read a binary file into a string

Syntax

BINFILETOSTR(<expC>)

See Also

BIN2I(), BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINSTRTOFILE(), BINWRITE(), FCLOSE(), FILETOSTR(), FOPEN(), I2BIN(), L2BIN(), STRTOFILE()

Description

The BINFILETOSTR() function reads the specified file and returns its contents as a string.

Parameter Description
<expC> Name of the file to be read. This should include the path if not in the current directory.

Example

cbinstr = binfiletostr("test.pdf")
? binstrtofile(cbinstr,"test2.pdf")
     29424