sommar@enea.UUCP (Erland Sommarskog) (06/07/86)
In article <4000001@nucsrl> gore@nucsrl.UUCP writes: > >Another example: If only 'in' parameters are allowed in functions, why allow >access to external variables from inside a function? Think before you talk, man! Let's say you have a data structure, a table for example which is totally embedded inside of a package. I.e. neither the type nor a variable reference is available outside the package. The only way to change AND achieve data is through procedure and function calls. So a function reading data from the table, must of course be able to refer to the table, which, also of course, is declared outside the function. You could discuss whether this is a good programming technique, but I use it regulary, though not in Ada. Erland Sommarskog ENEA Data, Stockholm