[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Concatenating A Lone Ascii-13



Robert: I think this is impossible, but I'd like to hear it from you before I
abandon the effort. I'm trying to concatenate 3 lines of text from an existing
a-z sgt into a string that will act like a block of text defined with DC
funtions (ie - it will respect existing line end characters) Here's what I
know: Define 3 lines and save to an a-z sgt, then List it and you see the
normal 13/10 combos ending each of the 3 lines. Now define the same 3 lines
using DC functions, save to an a-z sgt and List it and it appears that the line
endings are plain old 13's instead of the 13/10 combo. And the 3 lines saved
to an a-z sgt in this manner continue to behave as expected (as DC block)
So... since I can't get an ascii 13 that's really just an ascii 13 I split a
13/10 combo and re-combine with just the 13. But even though the saved sgt now
Lists just like the sgt saved with the DC method, it no longer acts the same
way! (ie when merging it into text file, it brings 13/10 combos with it).
Further - If I take the existing sgt that works and parse and concatenate *any*
character in it, it no longer behaves as a DC block. There's a little clue in
ctlchar.txt that makes me think you've tried manipulating 1-byte 13's before
with no success. ("NA Not Available|
Impossible|May Crash the File, PM, or even XyWrite") I know I can get what I
need by calling up a screen and actually building the sgt with DC functions,
but I'd like not to have to. Please let me know what you think. Thanks.