Connecting Tech Pros Worldwide Forums | Help | Site Map

Opposite of Chr$(10)

Newbie
 
Join Date: May 2007
Posts: 27
#1: 4 Weeks Ago
Hi Everybody,
I'm trying to figure out what the opposite of Chr$(10)... "line feed" is, does one exist?
Cheers Eddie
best answer - posted by missinglinq
No, there is no "backward" line feed. Chr$(8) which is a backspace, repeated, is about as close as you can get. What exactly are you trying to accomplish?

Linq ;0)>

missinglinq's Avatar
Moderator
 
Join Date: Nov 2006
Location: Richmond, Virginia USA
Posts: 3,000
#2: 4 Weeks Ago

re: Opposite of Chr$(10)


No, there is no "backward" line feed. Chr$(8) which is a backspace, repeated, is about as close as you can get. What exactly are you trying to accomplish?

Linq ;0)>
Site Addict
 
Join Date: Mar 2007
Location: Oakland, California, USA
Posts: 522
#3: 4 Weeks Ago

re: Opposite of Chr$(10)


The function Asc(string) is the opposite of Chr(number). Chr returns a string, and Asc returns a number.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#4: 4 Weeks Ago

re: Opposite of Chr$(10)


Sorry Eddie. The ASCII character set was set up during the time of teletypes (where TTY: comes from) and as such, there was no concept of reverse line-feeds to worry about including. Linq is on the money with this one.
Newbie
 
Join Date: May 2007
Posts: 27
#5: 3 Weeks Ago

re: Opposite of Chr$(10)


Thanks everybody,

I'll have to think a little harder about this one

Cheers Eddie
Reply