GUIKit Example: PrimeFinder
CodeDefinition
| Out[5]= |  |
ExampleThis example displays a dialog for finding prime numbers and alerting the user when any entered expression evaluates to a prime number. The modal version also shows how results can be returned to Mathematica when the dialog is finished. In this example, a sorted list of all prime numbers 'visited' during the session is returned.
| Out[4]= |  |
This dialog can also be run in a modeless session as well with multiple copies running independently.
|