Database:




Syntax:

database name

Where: name is the name of the database file (.WDB).



Note! This will load all the database varibles as follows:

database_name.table_name.data_name

Where: database_name is the name of the database, table_name is the name of the table,
data_name is the data name including the data type, this is done for all tables and
all the data in each table.

For each table in the database you will also have an extra number varible which contains
the tables error code, which is normaly set to 0.

database_name.table_name.error.code%



Program Example:

{This examle requres database example which has the following table: MEMBER}
{MEMBER has the following data types: NAME,SURNAME,AGE and SEX}
{NAME and SURNAME are both text with a width of 20 characters,}
{AGE is a number and SEX is a single character.}

database example;

example.member.name$="John";
example.member.surname$="Blogs";
example.member.age%=45;
example.member.sex$="M";

add member

Program File

Application File

Database File




Return

Last Updated: July 1998.