User login
|
|
|
Frontpage Sponsor
|
|
|
Poll
|
Would you like to see a separate forum on Baanboard for the ION product? No 13% Yes 87% Total votes: 91 |
Baanboard at LinkedIn
|

|
|
|
|
Items for 'BaanERP' (by date)
|
|
By patvdv at 26 Feb 2008 - 21:56
|
Function declarations
For functions programmed within a DLL to be accessible to other programs, they must be declared as external functions � that is, they must be declared with the keyword EXTERN. For example:
|
|
|
|
By patvdv at 26 Feb 2008 - 21:56
|
4GL form sections
Note
Only the form.all section is relevant to dynamic forms. For dynamic forms, use the group sections instead.
|
|
|
|
By patvdv at 26 Feb 2008 - 21:56
|
Function overloading
When DLLs are dynamically linked at runtime, instead of at compile time, function overloading is possible. This means that an external function contained in a loaded DLL can be replaced by overloading another DLL that contains a function with the same name and arguments.
|
|
|
|
By patvdv at 26 Feb 2008 - 21:56
|
4GL group sections
With dynamic forms, the mapping of groups to forms is not fixed. Consequently, the only form sections that are relevant to dynamic forms are the form.all and form.1 sections. When dealing with dynamic forms, you use group sections instead of form sections
|
|
|
|
By patvdv at 26 Feb 2008 - 21:56
|
|
Object information tool
To display information about an object, use the object information tool bic_info6.2. Note that maximum information is displayed when the object has been compiled with the debug option.
|
|
|
|
By patvdv at 26 Feb 2008 - 21:56
|
4GL main table i/o sections
Note that main.table.io sections (except the read.view subsection) are ignored when the corresponding DAL hooks are programmed in a DAL script.
|
|
|
|
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.
|
|
|
|
By patvdv at 26 Feb 2008 - 21:56
|
program sections
Program sections have no subsections.
The following program sections are available:
|
|
|
|
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:
|
|
|
|
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.
|
|
|
|
All times are GMT +2. The time now is 07:37.