Re: A question about certain language features
Ok, another one, concerning scope of local vars declared in a function, and
passed to other functions: Pascal allowed nesting functions and procedures
inside each other. Every function and procedure was essentially a separate
program. The top procedure could declare vars "global" to the functions
inside it, but not outside it. This was handy also, in Pascal, but i have not
needed it in Eu, yet. But my point is this: there was no code to test and
abort with error("you cannot do that in a function!").
Kat
|
Not Categorized, Please Help
|
|