What types of parameters does Seed7 have?
There are value and reference parameters. The formal parameter can be constant or variable. The combination of these features allows four types of parameters: +———–+———–+————–+ | parameter | call by | access right | +———–+———–+————–+ | val | value | const | | ref | reference | const | | in var | value | var | | inout | reference | var | +———–+———–+————–+ Additionally every type defines an ‘in’ parameter which is either a ‘val’ or a ‘ref’ parameter. Types with little memory requirements like ‘integer’, ‘char’ or ‘boolean’ use a ‘val’ parameter as ‘in’. Other types like ‘string’, arrays and structs use a ‘ref’ parameter as ‘in’. Usually it is not necessary to care if an ‘in’ parameter is by value or by reference.