<<

Contents

Search

>>

 

GET_FIELDTYPES$

 

 

Function

 

 

Syntax:

GET_FIELDTYPES$(<Filename>)

 

<Filename> = <STRING-EXPRESSION>

 

Meaning:

Returns separated by ";" <Type>,<Length>,<PDP> of the fields of an Index File.

 

<Type>, <Length> and <PDP>  are separated by ",".

 

<Type> is the type of the field of the Index File.

A = alphanumeric, N = numeric, D = Date

 

<Length> is the length of the field of the Index File.

 

<PDP> are the post decimal positions of the field of the Index File.

 

If the Index File does not exist, GET_FIELDTYPES$ returns the empty string "" and the variable OK has the value -1, otherwise OK = 0.

 

Parameter:

Filename

Name of Index File

 

Sample:

TYPES$ = GET_FIELDTYPES$("CUSTOMER")

 

See also:

GET_FIELDNAMES$

GET_FIELDREMARKS$