Re: A question about certain language features

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu