Implement the two logical functions and() and or(), which shall be capable of using an arbitrary number of inputs and returning a logical number, indicating, whether all (and()) or at least one (or()) of its argument is non-zero.
Analysis:
This can be done by consecutive comparing the input arguments against zero.
Implementation:
The functions were implemented as proposed by the analysis. Implementation tests were passed successfully.
Documentation:
The new functions were added to the syntaxelements, to the language strings and to the search database. They were as well added to the list of predefined functions.
Tests:
Tests were passed successfully. Functionality implemented successfully.
Anonymous
Diff:
Diff:
Diff: