Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

 
Items for 'English' (by date)
By Date  
Alphabetically By Date  

 

You are browsing all items of this content category sorted by date (most recent first). Note that forum posts/threads are not included here.

 

If you would like to search through the content then please refer to the Site Search page.

 

Scope of variables across DLLs
By patvdv at 26 Feb 2008 - 21:56

Scope of variables across DLLs

Global variables

Global variables are declared outside the functions in a script, without the EXTERN keyword. They are only known within the DLL in which they are declared. For example:

0
No votes yet

Symbolic constants
By patvdv at 26 Feb 2008 - 21:56


Symbolic constants

A symbolic constant is used in your program as a symbolic name, but at runtime it has a fixed value. The defined constants are:

       FALSE   The actual value is 0
TRUE The actual value is 1
PI The actual value is 3.141592653589793

Note that if FALSE and TRUE are used as boolean values (for example, as a result of expressions), they mean zero and not zero respectively.

0
No votes yet

4GL zoom.from sections
By patvdv at 26 Feb 2008 - 21:56

4GL zoom.from sections

0
No votes yet

Tables
By patvdv at 26 Feb 2008 - 21:56

Tables

If you use database tables and records in your program, you must declare the tables as follows:

TABLE <table name> | table name must start with a 't'.

This declaration creates a pointer to the table. Declaration of a table implies declaration of all its fields and its record buffer. It is not necessary to declare these separately.

0
No votes yet

Flow of 4GL engine
By patvdv at 26 Feb 2008 - 21:56


Flow of 4GL engine

This section presents the general flow of the 4GL engine. It is not complete, but the most important actions are included. The flow is similar for programs of types 1, 2, 3, and 4. Any differences are indicated by comments.

Main routine

The main routine displays the first form on the screen and waits for a command.

0
No votes yet

The GOTO statement
By patvdv at 26 Feb 2008 - 21:56

The GOTO statement

The GOTO statement transfers control unconditionally to a specified point in the program. You use a label to indicate a position to which the statement can transfer control. The label name can consist of letters, digits, underscores [_], and periods [.]. It must begin with an alphabetic character.
Examples of labels:

LABEL_1:
START_OF_PROCESS_A:

Examples of GOTO statements:

0
No votes yet

Programming a UI Script overview
By patvdv at 26 Feb 2008 - 21:56

Programming a UI Script overview

This section describes how to program a BAAN UI script.
When you create a session, the default behavior of that session is handled by the 4GL engine. If additional functionality is needed or default functionality needs to be by-passed, this should be programmed in a UI script.

0
No votes yet

The IF ... THEN ... ELSE statement
By patvdv at 26 Feb 2008 - 21:56

The IF ... THEN ... ELSE statement

The IF statement enables conditional transfer of control. The statement tests a condition, and executes the succeeding statements only if the condition is true. The condition can consist of an expression, or it can be a long variable or a function that returns a long. When the condition is a long variable or a function that returns a long, the value zero is evaluated as FALSE and all other values are evaluated as TRUE.

0
No votes yet

Comparison of doubles in queries
By patvdv at 26 Feb 2008 - 21:56

Comparison of doubles in queries

Problem description

The comparison of two doubles or floats inside queries is unreliable. For example, if a query contains the expression "double.col > 1.23" then a value may be returned which is equal to, or even slightly less than, 1.23. If an expression "double.col = 1.23" is in a query, and the database contains the value 1.23 it may, or may not be returned. This can lead to programs taking wrong decisions.

0
No votes yet

Enumerate and set constants
By patvdv at 26 Feb 2008 - 21:56


Enumerate and set constants

In the data dictionary you can define database table fields and domains of type enumerate or set.

An enumerate or set domain consists of a number of constants. In the program script (and other places in the data dictionary), a symbolic name is used. The symbolic name is the domain name, followed by a period [.] followed by the name of the constant. Variables of type set can also consist of a combination of set values.

0
No votes yet


All times are GMT +2. The time now is 07:00.


©2001-2017 - Baanboard.com - Baanforums.com