Functions

A function groups a sequence of statements under a name so it can be invoked repeatedly. Rux supports several kinds of functions, each covered in a dedicated chapter:

KindDescription
DeclarationDeclaring functions, parameters, and return types
VariadicFunctions that accept any number of arguments
GenericFunctions parameterized over types
AssemblerFunctions whose body is written in assembly
MainThe program entry point

See Also