Example/FindPrimes - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Example/FindPrimes

FindPrimes Canvas Application Example


In this example the user is asked to enter prime numbers.  When the button is clicked, the "FindPrimes" procedure will look through all of the entered math, and create a Script  that adds a message next to the math indicating whether or not the input is indeed prime or not.

The complete application source code is available here for you to inspect and modify.  It uses the Canvas  package to describe the interface, and a ScriptButton  to implement an action.






Next Steps

Make Standard Maple Commands Interactive

Return to DocumentTools[Canvas] Overview Page