Product Logo

CNS Menu

Dynamic Menus

Script Steps

CNSMenu File Read

NameCNSMenu File Read
Description

Reads in the characters or lines of a file.

FormatCNSMenu File Read ( Select entire contents ; Target ; File ; Start ; Amount ; Read Lines )
Required Parameters
File

The path and file name of the file you want to read.

Optional Parameters
Select entire contents

If checked, the target field or variable will be replaced by the result of this script step.

Target

Specify the field or variable to receive the file data.

Start

The starting character position or line. If negative, the position will be relative to the end of the file.

Amount

The number of characters or lines to read. (Default is all or the remaining part of the file.)

Read Lines

If checked, the Start and Amount parameters refer to the number of lines instead of characters.)