Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
30%
500 - 800 GB
3%
800 - 1200 GB
6%
1200 - 1500 GB
8%
1500 - 2000 GB
12%
> 2000 GB
23%
Total votes: 66

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.

 

Functions with variable number of arguments: sample program
By patvdv at 26 Feb 2008 - 21:57

Functions with variable number of arguments: sample program

function long change.attributes( long id, ...)
{
long argc
long i
long long_value
double double_value
string string_value

argc = get.argc()

for i = 3 to argc step 2
on case get.long.arg(i-1)
case DS_TITLE:
string_value = get.string.arg(i)
......
break
case DS_BACKGROUND:
long_value = get.long.arg(i)
......
break
default:
......
break

0
No votes yet

Delete Nodes
By patvdv at 26 Feb 2008 - 21:57

Delete Nodes

Synopsis

long xmlDelete(long fromNode, [ long toNode ])

XML library function

int xmlDeleteList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlContextPointer pContext);

Description

Delete a tree or a list of trees. When this tree is a sub-tree of a larger tree, it is unlinked from this larger tree.

0
No votes yet

get.arg.type()
By patvdv at 26 Feb 2008 - 21:57

get.arg.type()

Syntax

long get.arg.type( long arg_no )

Description

This function returns the type of the specified argument.

Arguments

arg_no

0
No votes yet

Doctype element in relation to XML
By patvdv at 26 Feb 2008 - 21:57

Doctype element in relation to XML

The optional document type element (created with function xmlNewNode("name", XML_DTD) ) can be used to generate an XML-document with a DTD. When an XML object results from parsing an XML document, no document type (XML_DTD) node is created.
For the document type element of an XML object the following mapping rules apply:

0
No votes yet

get.argc()
By patvdv at 26 Feb 2008 - 21:57

get.argc()

Syntax

long get.argc()

Description

This function returns the number of arguments supplied to the currently executing function (i.e. the function in which get.argc() is called). Once you know this number, you can read from and write to particular arguments using the other functions.

Context

Bshell function.

0
No votes yet

Duplicate and Add Nodes
By patvdv at 26 Feb 2008 - 21:57

Duplicate and Add Nodes

Synopsis

long xmlDuplicateAndAdd(long destinationNode, long fromNode, [ long toNode ])

XML library function

XmlNodePointer xmlDupListAndAdd(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);

Description

Duplicate a tree or a list of trees and add this list to a new list after the node referred to by destinationNode.

0
No votes yet

get.double.arg(), get.long.arg(), get.string.arg()
By patvdv at 26 Feb 2008 - 21:57


get.double.arg(), get.long.arg(), get.string.arg()

Syntax

double get.double.arg( long arg_no )

long get.long.arg( long arg_no )

string get.string.arg( long arg_no )
0
No votes yet

Duplicate and Append Nodes
By patvdv at 26 Feb 2008 - 21:57

Duplicate and Append Nodes

Synopsis

long xmlDuplicateAndAppend(long destinationNode, long fromNode, [ long toNode ])

XML library function

XmlNodePointer xmlDupListAndAppend(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);

Description

Duplicate a tree or a list of trees and append this list to the end of the list referred to by destinationNode.

0
No votes yet

Functions with variable number of arguments: overview
By patvdv at 26 Feb 2008 - 21:57

Functions with variable number of arguments: overview

In the BAAN 3GL programming language, you can define a function with a variable number of arguments. For example:
function long change.attributes( long id, ... )

{
|
| some code
|
}

The ellipsis [...] in the function definition indicates that the number of function arguments is variable, up to a maximum of 255. The function call determines how many and which arguments the function uses.

0
No votes yet

Duplicate and Append Nodes to Children
By patvdv at 26 Feb 2008 - 21:57

Duplicate and Append Nodes to Children

Synopsis

long xmlDuplicateAndAppendToChilds(long parentNode, long fromNode, [ long toNode ])

XML library function

XmlNodePointer xmlDupListAndAppendToChildList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);

Description

0
No votes yet


All times are GMT +2. The time now is 08:56.


©2001-2018 - Baanboard.com - Baanforums.com