Next: , Up: Of Errors   [Index]


4.2.6.1 Function Descriptions

Since aime functions do not generally provision for errors, the function descriptions in this manual do not detail function behavior on error.

Most functions never fail and such there is no description of failure (for when the function call is anything but successful the aime interpreters terminate the program execution and the function does not return). Such, the function description is to be taken as detailing operations for successful execution.

Consider the ‘f_open’ function of the file library.

See (aime)The Open Functions.

See File Library.

It always succeeds. The calling program will never observe the function failing for if the file cannot be opened the program execution terminates before the function returns control.

Its manual description should be read as "open file or failing that terminate program".

Likewise, a list library ‘l_q_integer’ function always provides the value of the integer data in the specified position in the specified list. If the position is not applicable or if the data is not of the intrinsic integral type the function does not return.

See Data Type Specific List Functions.

See List Library.