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
38%
Installation Wizard into new VRC
41%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 37

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.

 

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

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

The ON CASE statement

This statement has the following syntax:

0
No votes yet

Considerations on doubles
By patvdv at 26 Feb 2008 - 21:56

Considerations on doubles

In the related topics some extra information on double.cmp() is given.
For Baan 4GL engineers it is important to know that:

0
No votes yet

Token pasting (preprocessor)
By patvdv at 26 Feb 2008 - 21:56

Token pasting (preprocessor)

In the macro, you can enter a part of a variable as a macro argument. The symbol '##' is used to distinguish macro arguments and the rest of the macro. This is omitted in the macro call. You can paste more macro arguments together as one identifier. This principle is called token pasting. It is used to reuse parts of the source code, where using functions is impossible or difficult.

0
No votes yet

Reliability of double.cmp()
By patvdv at 26 Feb 2008 - 21:56

Reliability of double.cmp()

Suppose the following variables:

0
No votes yet

Transfer of control
By patvdv at 26 Feb 2008 - 21:56

Transfer of control

The Baan 3GL programming language supports several statements that change the flow of control in a program. These enable control to be transferred either conditionally or unconditionally to a specified point in the program.

0
No votes yet


All times are GMT +2. The time now is 14:24.


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