Function definition: Difference between revisions

Line 712:
 
=={{header|RLaB}}==
 
In RLaB the functions can be built-in (compiled within RLaB, or part of the shared object library that is loaded per
request of user), or user (written in RLaB script). Consider an example:
<lang RLaB>
>> class(sin)
function
>> type(sin)
builtin
</lang>
 
 
Functions are a data class on their own, or they can be member of a list (associative array).
 
1. user function specified from built-in functions, here basic addition
Anonymous user