[PD] Help on ASCII

Bradon Webb bradonwebb at yahoo.com
Mon Apr 14 07:10:02 CEST 2003


Hello all

I need some help with a reversing text patch.... I am
trying to write a patch that will reverse text and
made a somewhat dysfunctional version that uses the
"keyname" object. It packs the symbol character of the
keystroke into a textfile and then advances to the
next line and sets the next keystoke character into a
new line and so on until a bang is pressed to process
the information.  Then a textfile is read back by
counting the total # of lines, then skipping that #
minus one to give the very last character.  I store
that character in an empty messagebox.  Then the total
number of lines is set to be (total = total - 1) and
the process is started over, so that I now get the
second to last character in the file and so on.  I am
using the "add2" message to continue to add the new
character to the previous ones.  The problems I am
having are:

1.) I cannot use spaces, because they get do not get
recognized as a character, and backspaces appear as
"Backspace" and shift appears as "Shift".

2.) the message box adds a space between each new
character so that the text appears like this: "s i h t
e k i l".  So I am wondering if there is a way to
correct these things, maybe by using an ascii object
that I am unaware of.

Thanks all this is my first post
Bradon~

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com




More information about the Pd-list mailing list