Invokes the specified Ingres/ICE
extension function.
|
For Extension Functions |
<!-- #ICE [REPEAT] FUNCTION= |
|
|
|
Parameters The
following table lists the parameters used with the FUNCTION keyword:
|
Parameter |
Description |
|
library_name |
The name of the library containing the function. It can be either a DLL (on Windows NT) or shared library (on UNIX). |
|
function_name |
The name of the function. |
|
variable_name |
The name of a variable being passed to the function. |
|
value |
The value assigned to the variable. For server functions, value is only specified if the requested action/property combination is associated with an output value. |
|
HTML text with
variables |
Any allowable HTML text. A format string containing markup tags and column names. This option provides the ability to describe a line of HTML or markup language syntax and embed within it variable placeholders. |
Refer to
the Writing Ingres/ICE Server Extensions section in the “Creating Web
Applications” chapter for more information on writing extension functions.
REPEAT Option The
REPEAT option allows the recursive parsing of macros. This allows multiple queries and macros to be embedded within a
single macro. It must be used in
conjunction with another macro option and has no meaning when used on its own.
Since the
grave quote (`) and the colon
(:) characters are used as delimiters, they must be duplicated when used with
the REPEAT option. This option has the
effect of disabling the delimiting effect when only one delimiter is used.
The
following example invokes the “newOrder” Ingres/ICE extension function, which
obtains an order number and assigns the returned value to the e_orderNumber
session variable.
<!-- #ICE REPEAT
FUNCTION=`play_NewOrder.newOrder`
HTML=`<!--
#ICE DECLARE=``session.e_orderNumber=:out_orderNumber``-->`
-->