Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Navigation: Programming with Amos > Class Reference

CAmosSeedManager Class Reference

Scroll Prev Top Next More

The CAmosSeedManager class provides a means of generating seeds for use with the random number generators of the AmosRanGen class, and for maintaining a record of the seeds used by those random number generators. When you use AmosRanGen in your programs, you can use CAmosSeedManager to make sure that your programs always use the same random number seed, or to make sure that they always use a different random number seed. You can also use CAmosSeedManager to find the random number seeds used by your programs in the past.

If you are not using Amos's built-in program editor, you need to provide a reference to SeedManager3.exe in order to use the CAmosSeedManager class. In Visual Studio 2003:

Click Project -> Add Reference.

In the Add Reference dialog, click Browse.

When the Select Component dialog opens, select SeedManager3.exe from the Amos program directory and click Open.

In the Add Reference dialog, click OK.

© 2021 Amos Development Corporation