IBM Books

Net.Data Reference Guide


Net.Data Built-in Functions

Net.Data provides a wide variety of functions that you can use right away without a FUNCTION block. The function names are not case sensitive. Net.Data built-in functions are divided into these categories:

Many functions have one or more of the following forms:

Function parameters must be placed in the correct order. All input parameters before the last input parameter can be specified, or specify a null ("") to accept the default. For example, you can call DTW_TB_INPUT_TEXT this way:

@DTW_TB_INPUT_TEXT(myTable, "1", "2", "", "", "32")
The fourth and fifth parameters use default values. They must be included as nulls to indicate "32" is the value for MAXLENGTH in the generated HTML. The final parameter is not specified so the default is used. If you chose to accept the default for MAXLENGTH and the two previous parameters, simply omit them:
@DTW_TB_INPUT_TEXT(myTable, "1", "2")

You must specify intermediate null values in the parameter lists for input parameters when there are subsequent non-null input parameters. You do not need to specify intermediate null input parameters before specifying your final output parameter.

In the descriptions that follow, function parameters are described as being of type string, integer, float, and array (array represents a table). All Net.Data variables are of type string but the terms integer, float or array are used to denote a string that represents an integer, float, or array value respectively.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]