Rich,
>I don't think you can do this directly. If you create procedures/functions for the WHEN and VALID clauses for any GET they are stored as Functions within the SPR and are assigned random names when you generate the form.
If, as the first line of the code snippet for each clause, When and Valid in this example, you use the #Name generator directive, then the name of the functions won't be random, for example if you put in the When snippet
#Name ThisIsTheWhenOfObject1
Then you'll get a function of that name generated (all uppercase)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges