Logo GenPRES

BST000T Module

Reads the G-Standaard file BST000T, which lists every file with a description and a record length, and writes the code comment for a table.

Types

Type Description

BST000T

Functions and values

Function or value Description

commentString n pl

Full Usage: commentString n pl

Parameters:
    n : string - The name of the table
    pl : int list - The picklist of columns to include in the comment

Returns: string

Creat a code comment for a table.

n : string

The name of the table

pl : int list

The picklist of columns to include in the comment

Returns: string

create mc nm ds rl st ua dl al nw tt

Full Usage: create mc nm ds rl st ua dl al nw tt

Parameters:
    mc : string
    nm : string
    ds : string
    rl : int
    st : string
    ua : int
    dl : int
    al : int
    nw : int
    tt : int

Returns: BST000T

Create a BST000T record

mc : string
nm : string
ds : string
rl : int
st : string
ua : int
dl : int
al : int
nw : int
tt : int
Returns: BST000T

name

Full Usage: name

Returns: string
Returns: string

pickList

Full Usage: pickList

Returns: int list
Returns: int list

posl ()

Full Usage: posl ()

Parameters:
    () : unit

Returns: int list
() : unit
Returns: int list

records arg1

Full Usage: records arg1

Parameters:
    arg0 : 'a

Returns: BST000T array
Type parameters: 'a

Get all the records from the BST000T file

arg0 : 'a
Returns: BST000T array

table n

Full Usage: table n

Parameters:
    n : string - The name of the table

Returns: BST000T

Get a specific record from the BST000T file

n : string

The name of the table

Returns: BST000T

Type something to start searching.