Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
How can I generate the same random when I return my program?
Probably the "Seed()" command is what you are looking for.
Here are the screenshots of Mathcad 15 's help

and from the appropriate Quicksheet:

