The <parameter> tag defines function parameter
names and types using the name and type attributes:
- • name - parameter name
- • type - string, int, real or datetime
Code to check the parameter count and types is generated automatically.
Local C variables are created that take the parameter value and optional
information. For a parameter named foobar the following variables are
created:
- •
foobar - takes the parameter value. Depending on the parameter type
this is either a double, long long, char* or time_t
- •
foobar_is_null - for int, real and datetime this indicates
whether a NULL value was passed (for string types foobar itself
is a NULL pointer)
- •
foobar_len - for string this contains the actual string length