SCOUG-HELP Mailing List Archives
Return to [ 28 |
July |
2003 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================
Would your 4+ meg file have caused the enhanced editor to choke?
Pulling your file into it, setting the line length to 83, and turning
wrap ON might have done the trick. On the other hand look at all of the
fun you had learning more about your unfavorite programming language.
Sheridan
Nah, my idea is not so good. If any of your binary data happened to be
an ASCII space epm would have wrapped it there making a short line.
Now, you can write up your experience and publish your utility so the
next person that asks the question you asked will have a ready made
solution.
Peter Skye wrote:
>=====================================================
>If you are responding to someone asking for help who
>may not be a member of this list, be sure to use the
>REPLY TO ALL feature of your email program.
>=====================================================
>
>Steven Levine wrote:
>
>
>>Just write it in 5 lines of REXX and be done with it. :-)
>>
>> do while chars('inFile') >= 83
>> x = charin('InFile',,83)
>> call lineout 'outFile', x
>> end
>> say 'I did not bother to read the last' chars('inFile') 'characters'
>>
>>The speed should be good enough.
>>
>>
>
>I made it a generic program -- 130 lines with command line parameters
>for source, target and record length plus full error checking. CharIn()
>worked fine, thanks.
>
>- Peter
>
>
>=====================================================
>
>To unsubscribe from this list, send an email message
>to "steward@scoug.com". In the body of the message,
>put the command "unsubscribe scoug-help".
>
>For problems, contact the list owner at
>"rollin@scoug.com".
>
>=====================================================
>
>
>
>
>
>
>
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 28 |
July |
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|