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.

 

4GL event sections
By patvdv at 26 Feb 2008 - 21:56


4GL event sections

A 4GL script can contain one or more of the following types of sections:

0
No votes yet

Dynamic linking
By patvdv at 26 Feb 2008 - 21:56


Dynamic linking

DLLs can be linked to a program script either at compile time or at runtime.

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

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

Static variables

You can declare local variables as static variables. The value of a static variable is saved at the end of the function and is used again the next time the function is called. A static variable is automatically initialized at the start of the program. Normal local variables are undefined at each function call, and are not initialized at first call.

Declaration, initialization, and scope

Point of declaration

0
No votes yet

Include files (preprocessor)
By patvdv at 26 Feb 2008 - 21:56


Include files (preprocessor)

To include files, use one of the following statements:

 #include "filename"
#include <filename>

Files included between '<' and '>' are searched for in the directory '$BSE/include<rel.number>'. This directory is reserved for system headers and cannot be used for applications. Normally a file specified between quotes is searched for using the standard file redirection method.

0
No votes yet

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


All times are GMT +2. The time now is 22:26.


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