ComponentOne Sizer 8.0
FileType Property

Returns or sets whether the file being scanned is a text or binary file.

Syntax

[form!]C1Awk.FileType[ = FileTypeSettings ]

Remarks

The effect of the settings for the FileType property are described below:

0 - ftText

This setting causes the Awk to interpret the contents of the FileName file as text. Specifically, this means that the Awk will recognize both vbCrLf combinations and vbLf characters as line breaks, and will trim off either the end of each line. In addition, the Awk will truncate the file when it finds an end-of-file marker (Chr(6)).

1 - ftBinary

This setting tells the Awk to perform no conversions whatsoever on the file being scanned.

Data Type

FileTypeSettings (Enumeration)

Default Value

ftText (0)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback