GUIKIT PACKAGE TUTORIAL

GUIKit Example: PrimeFinder

Code
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Definition
In[5]:=
Click for copyable input
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]:=
Click for copyable input
Out[4]=

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

In[10]:=
Click for copyable input
New to Mathematica? Find your learning path »
Have a question? Ask support »