I'm totally confused with Seed7's use of "func".
In other languages - pascal, oberon2, modula2 etc - a procedure
DOES something, but returns nothing.
On the other hand, a function can return a value, and sometimes
modify an existing value.
Seed7 appears to overload the term "func" to mean:
- a function declaration, and
- begin ... end or { ... }
Is that correct?
Are procedures and functions specifically explained somewhere? I
could not find it in the manual OR the tutorial. I had to go to
rosettacode.org for a simple explanation of a seed7 function
construct. However, there was nothing there about how to properly
write a seed7 procedure. TIA ...
--
Duke Normandin <sid...@gm...>
|