Suppose that I need to implement at least 5 queues in one procedure, each of it from a different defined type. How can achive this in a simple and short way?.
Anot
Have you considered unlimited polymorphic pointers? See, for ex., pp 269 ff in "Modern Fortran Explained".