Please enable JavaScript to view this site.

A-Shell Reference

(Unix only) This option forces A-Shell/Unix to terminate sequential file print lines with CRLF (e.g. 0x0D 0x0A) instead of the normal NL or LF (0x0A) used under Unix. There are two good reasons why you might want to use this option. One is in a situation where you are creating files under Unix that you want to share with some other operating systems that require the CRLF line terminators (like Windows, DOS, or AMOS.) Since the INPUT LINE statement is implemented under A-Shell in such a way as to throw away superfluous CR line terminators (if immediately followed by a LF), the addition of the extra CR on the end of print lines will not adversely impact A-Shell. The second reason is that you are having trouble getting your Unix printers to automatically supply the carriage return when goes with each new line. Although this can generally be handled by a filter, having A-Shell simply add the necessary CR for you is an acceptable approach in some cases.