Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

GUIKit Example:
PrimeFinder

Code

In[1]:=
In[2]:=
In[3]:=

Definition

In[5]:=
Out[5]=

Example

This 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.

In[4]:=
Out[4]=

This dialog can also be run in a modeless session as well with multiple copies running independently.

In[5]:=


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: