Previous Icon 3

Next Icon 3

External tables

KISSsoft uses external tables, also called look-up tables, to handle larger data volumes. It is the task of external tables to assign one or more output values to one or more input values (see Figure 9.6).

Figure 9.6: Principle of functionality of external tables

The output data that is assigned to the input data are contained in the table.

The external tables are stored in the /<KISSsoft installation folder>/dat directory. If a new table name is entered into a database, a file with the same name and the file extension .dat must also be created manually.

Because tables are located externally, KISSsoft can only determine how many of them there are during program execution. The user directly benefits from the fact that they can generate their own files with data tables in a similar way to the files supplied by KISSsoft. The tables are readable ASCII files and consequently can be edited and expanded by the user. It would, for example, be possible to use an internal standard as an alternative to the ISO base tolerances.

Figure 9.7 shows the three table types used by KISSsoft in one diagram:

Figure 9.7: Types of external tables

A table always has the following structure, no matter what type it is:

:TABLE <Type> <variable or ID>
   <Table header >
DATA
   <Data>
END

The :TABLE command marks the external table as an external table. You must use one of the following designations for the <Type> argument:

FUNCTION  

Functions tables

RANGE

Range tables

LIST

List tables

 

Note

Blanks in tables can be marked with *, - or blank spaces. Note here that no space characters can be used if they are followed by more values. KISSsoft interprets blank space as value separators.

The structure of the table header and the body data, which is dependent on the type, is described with example applications in the following sections.

Siehe auch

Functions tables

Range tables

List tables

List of key words used