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 'Manual' (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.

 

Operator precedence
By patvdv at 26 Feb 2008 - 21:56

Operator precedence

An expression can include a number of operators, variables, and constants. The overall result is calculated in accordance with the rules of precedence described here. For example, because multiplication has precedence over addition, the result of the expression (3 + 4 * 5) is 23 and not 35.

0
No votes yet

Function calls
By patvdv at 26 Feb 2008 - 21:56

Function calls

The call of a function must have the same number of arguments as declared in the function header. Value arguments can be called using a constant or a variable; reference arguments can only be called using a variable. If the called function is not of type void, the function call must be assigned to a variable or used as value argument in another function call.

0
No votes yet

3GL programming language features: overview
By patvdv at 26 Feb 2008 - 21:56

3GL programming language features: overview

This section describes the features of the Baan 3GL programming language. You can use the 3GL language in both 3GL scripts and 4GL scripts.

5
Average: 5 (1 vote)

Function prototypes
By patvdv at 26 Feb 2008 - 21:56

Function prototypes

A function consists of three parts:

  • Function prototype
  • Function definition (function block)
  • Function call

The function prototype must be exactly the same as the function header in the function definition. The prototype of a function is not always necessary. For example, it is not necessary in the following situations:

0
No votes yet

Pragma codes (preprocessor)
By patvdv at 26 Feb 2008 - 21:56


Pragma codes (preprocessor)

Pragma codes represent compiler options. The following pragma codes are available:

 #pragma nodebug

Do not show the source while debugging.

 #pragma debug

Show the source while debugging.

0
No votes yet

Function type and return value
By patvdv at 26 Feb 2008 - 21:56


Function type and return value

The type declaration in a function declaration indicates the type of the function. This must be the same as the type of the return value. Functions can be of the following types:

  • long
  • double
  • string
  • domain
  • void (this means that no value is returned)

If you do not specify a type, the function is of type void by default. In functions of type void, the return statement cannot have any argument. For example

0
No votes yet

Preprocessor
By patvdv at 26 Feb 2008 - 21:56

Preprocessor

The bic6.2 compiler for 3GL program scripts has a built in preprocessor with the following functions:

0
No votes yet

Functions
By patvdv at 26 Feb 2008 - 21:56

Functions

In a program, a function performs a particular task that can be executed many times, with different values. The syntax of a function is as follows (parts between brackets [] are optional):

FUNCTION [ function_type ] function_name( [ arglist ] )
{
declaration of local variables
statement(s)
RETURN[( return_value )]
}

where arglist consists of one or more argument declarations with the following syntax:

0
No votes yet

Relational operators
By patvdv at 26 Feb 2008 - 21:56

Relational operators

Relational operators compare two operands. If the condition (equal, greater than, less than, and so on) is satisfied, the result becomes TRUE. If not, it becomes FALSE.
Relational operators can be performed on values of every available type, but the operands of one expression must be of the same type. One exception to that rule is that longs can be compared to doubles.

0
No votes yet

Global variables
By patvdv at 26 Feb 2008 - 21:56


Global variables

Variables declared outside any function block are global variables. You can use them in all functions that occur after the variable declaration.

Declaration, initialization, and scope

Point of declaration

Outside the functions.

Syntax of declaration

<type> name

0
No votes yet


All times are GMT +2. The time now is 16:32.


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