Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


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
38%
Manual into existing VRC
5%
Manual into new VRC
19%
Total votes: 42

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.

 

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

Local variables

Variables declared within a function block are local variables. They are accessible only within the function in which they are declared.

Declaration, initialization, and scope

Point of declaration

In the function between the brackets { }.

Syntax of declaration

<type> name

0
No votes yet

Data types
By patvdv at 26 Feb 2008 - 21:56

Data types

There are five types of variables: long, double, string, table, and domain variables.

0
No votes yet

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


Logical operators

Logical operators perform logical operations on their operands. The operator NOT is unary, so it has only one operand. The operands of logical operators can be logical expressions, relational expressions, variables, or constants.

 

The following table illustrates the results of logical expressions:

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

Macro definition (preprocessor)
By patvdv at 26 Feb 2008 - 21:56

Macro definition (preprocessor)

Use the following statement to define a macro:

#define macroname[(arguments)]

Use the folowing statement to undefine a macro:

0
No votes yet

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


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


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



All times are GMT +2. The time now is 18:12.


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