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

 

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


String constants

A string constant is a number of displayable single-byte or multibyte characters enclosed by double quotation marks. A string constant with length zero (that is, an empty string) is indicated by two adjacent quotation marks. To include a double quotation mark within a string constant, you must include two adjacent double quotes. For example:

0
No votes yet

Iterations
By patvdv at 26 Feb 2008 - 21:56

Iterations

Iterative statements repeat the associated statements until a specified condition becomes FALSE.

WHILE statement

This statement has the following form:

0
No votes yet

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

String expressions (ON CASE)

0
No votes yet

Constants
By patvdv at 26 Feb 2008 - 21:56

Constants

A constant is a value of a special type that you can assign to a variable. The Baan 3GL programming language supports the following types of constants:

0
No votes yet

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


All times are GMT +2. The time now is 02:05.


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