Name

FileWidth Procedure

Class

Microsoft.VisualBasic.FileSystem

Syntax

FileWidth(filenumber, recordwidth)
filenumber

Use: Required

Data Type: Integer

Any valid file number

recordwidth

Use: Required

Data Type: Numeric

A number between 0 and 255

Description

Specifies a virtual file width when working with files opened with the FileOpen function

Rules at a Glance

  • recordwidth defines the number of characters that can be placed on a single output line.

  • The default recordwidth of 0 denotes that there is no limit to the number of characters that can be placed on a single output line.

VB .NET/VB 6 Differences

The FileWidth procedure is new to VB .NET.

Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.