But what if I want the routine to return, on occasion, some values
calculated over these matrixes such as (for simplicity!) the number
of non-zero cells in the new matrix, B? Assume that this number is
being calculated within the -gprvector- routine in the local `cells':
How do I return this result along with the new matrix, B? I tried (by
analogy)
syntax, input(name) output(name) [cells(name)]
and then executed
gprvector, input(A) output(B) cells(z)
but the follow-up command
dis z
draws a blank.
This is hard to answer without seeing more code and testing it out, but
following are my guesses on this.