da Silva, Joe wrote:
Frank is right. Just like you can't have "file" value parameters, you also can't have "store pointer" value parameters, only var parameters.
That's not what I said! I said that it's not uncommon to pass a directly allocated (i.e., "store") pointer by value, so I'm not convinced of the distinction between store and reference pointers. I wrote: : Though I'm not sure why the distinction between store and reference : pointers is necessary. Why not make all pointers the same, and when : one pointer to an object is disposed of, all the other ones are : invalidated? Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html