result into multiple variables



This is probably a really simple question, but...

Suppose I have an operation which returns two results.  For example, if 
I do FACTOR(10), this returns 2 and 5.  How do I write the program such 
that 2 and 5 go into the variables p and q?

-- 
William Springer
University of Colorado at Denver
Cogito cogito, ergo cogito sum.