Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hai

Former Member
0 Likes
447

what is the difference between binary mode and text mode?

3 REPLIES 3
Read only

Former Member
0 Likes
433

BINARY MODE: The READ or TRANSFER will be character wise. Each time u2018nu2019u2019 characters are READ or transferred.

The next READ or TRANSFER will start from the next character position and not on the next line.

IN TEXT MODE: The READ or TRANSFER will start at the beginning of a new line each time.

If for READ, the destination is shorter than the source, it gets truncated.

If destination is longer, then it is padded with spaces.

source: help.sap.com

Read only

Former Member
0 Likes
433

hi,

binary mode : it reads the file contents in character mode(character by character).

text mode: it reads the file contents in line mode(line by line) .

thanks,

raji

Read only

JanStallkamp
Advisor
Advisor
0 Likes
433

Hi.

Please have a look into the [rules of engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] of all SDN forums. Threads not following the rules will be locked or deleted. See Michael Schwandt's [blog about strict moderation|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/10047] [original link is broken] [original link is broken] [original link is broken]; for details.

Best regards,

Jan Stallkamp