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
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

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.

 

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


Numeric constants

The Baan 3GL programming language supports long and floating point constants. Both types can be preceded by a '+' or a '-' sign.

Long constants

A long constant consists of the digits 0-9 only. For example:

0
No votes yet

Fixed and based variables
By patvdv at 26 Feb 2008 - 21:56

Fixed and based variables

Fixed variables

A string variable can be declared as fixed so that its current length always equals the maximum length. For example:

STRING name(10) FIXED
name = "andrew" | the string is always filled up with spaces

The keyword FIXED is applicable to one-dimensional strings only. Multi-dimensional string arrays are always fixed and do not need to be declared with the keyword FIXED.

0
No votes yet

Object identifications (preprocessor)
By patvdv at 26 Feb 2008 - 21:56

Object identifications (preprocessor)

The compiler always places a default identification in an object, but you can include you own if you wish. You can use the UNIX command what to write all object lines that begin with '@(#)' on standard output.
The default identification has the following content:

#ident "@(#)<source name>, YY/MM/DD, [HH/MM], From ${logname}"

To set you own identification use the following statement:

0
No votes yet

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

Function arguments

The arguments of a function are the variables declared in the function header. Arguments can be accessed only within the function.

Declaration, initialization, and scope

Point of declaration

In the function between the brackets { }.

Syntax of declaration

[ref|reference] <type> name

0
No votes yet

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

Programmers Manual BaanERP: Topic List -L-
By patvdv at 26 Feb 2008 - 21:56


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

Arithmetic operators

Arithmetic operators perform arithmetic operations on the operands. All arithmetic operators, except string concatenation, must have operands of numerical type. If one of the two operands is a double, the other is also converted to double, and the result is also of double type. For example:

0
No votes yet

Programmers Manual BaanERP: Topic List -M-
By patvdv at 26 Feb 2008 - 21:56


Arrays
By patvdv at 26 Feb 2008 - 21:56


Arrays

You use arrays to store multiple variables of the same type within one data item. Each variable can be referred to with the construction

array_name(index)

For example, the first element in a one-dimensional array is

array_name(1)

An array can have up to four dimensions. The dimension (and, in case of a string, also the length) of an array must be stated in the declaration.

0
No votes yet

Programmers Manual BaanERP: Topic List -N-
By patvdv at 26 Feb 2008 - 21:56



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


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