Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Predefined functions

&pagelevel(2)&pagelevel

This chapter contains a detailed description of the predefined (or built-in) functions supplied with SDF-P, listed in alphabetical order.

Each entry has the following format:

  • function name, including abbreviated name

  • assignment to domains (application areas)

  • function description

  • format representation for the function call

  • result type

  • description of input parameters

  • description of result values

  • error messages

  • examples

In some instances, the input parameters are assigned keywords as values; the meaning of these keywords is explained in the description of the input parameters.

For most input parameters, however, the current value can be freely defined by the user; the following names are used:

  • string_expression: programmers can directly specify a string (’string’), the name of a variable which contains a string (varname) or an expression which supplies a string as the result.

  • character: same as string_expression; however, the string to be used consists of only one character.

  • arithm_expression: users can directly specify an integer value (integer), the name of a variable which contains an integer (varname) or an expression which supplies an integer as the result.

  • abbreviated_name( ): the names of functions cannot be abbreviated. Some functions can be called by means of an abbreviated name in addition to the function name. This abbreviated name is placed directly beneath the function name.

Note

The following syntax error messages can occur for any of the predefined functions, and are not listed separately for each of the functions individually: SDP0005, SDP0006, SDP0008, SDP0009, SDP0010, SDP0039, SDP0099, SDP0300, SDP0304, SDP0306, SDP0402, SDP0431, SDP0444.