Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
28%
500 - 800 GB
2%
800 - 1200 GB
7%
1200 - 1500 GB
7%
1500 - 2000 GB
12%
> 2000 GB
25%
Total votes: 81

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.

 

Dynamic-link libraries
By patvdv at 26 Feb 2008 - 21:56

Dynamic-link libraries

BaanERP Tools supports the use of dynamic-link libraries (DLLs). A DLL consists of a library of functions that are compiled, linked, and stored separately from the processes that use them. The functions are resources that can be shared by multiple programs that are running concurrently. Only one copy of the DLL needs to be present in memory. Each program that uses the DLL links to it at runtime, at the time it calls one of the DLL�s functions.

0
No votes yet

program sections
By patvdv at 26 Feb 2008 - 21:56

program sections

Program sections have no subsections.
The following program sections are available:

0
No votes yet

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

Declarations
By patvdv at 26 Feb 2008 - 21:56

Declarations

You can declare variables either within a function block or at the start of the program. Variables declared in a function block can be used within that function block only. Variables declared at the start of the program can be used in each function described below the declaration.

General syntax

You declare variables with the following syntax (parts between [ ] are optional):

0
No votes yet

Long expressions (ON CASE)
By patvdv at 26 Feb 2008 - 21:56


Long expressions (ON CASE)

The expression after ON CASE is evaluated and compared with the various CASE expressions that follow. All expressions in the case labels must be of type LONG or STRING. When string expressions are used, the ASCII value of the string is compared with the ON CASE expression. For example:

0
No votes yet

Domains
By patvdv at 26 Feb 2008 - 21:56

Domains

When declaring temporary variables for storing values of database fields, you can use normal variables of type long, double, or string. But this can cause problems if the length or type of the table field has been changed in the data dictionary. It is preferable to use domain declarations for storing the value of a database table field. When you use a domain declaration, the type and length for the declared variable are read from the data dictionary.

0
No votes yet


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


©2001-2018 - Baanboard.com - Baanforums.com