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.
https://learn.maplesoft.com/#/?d=MNIQCTGPISPSFLNHOLHRAGLINMPOFMDOEJOSIKFQIKHGCKGOFGMLDKIKORITDSHMIQBPDHDJGTETNHPFOLMTNRMTEKFJEPCFEGLF
Next Steps
Make Standard Maple Commands Interactive
Return to DocumentTools[Canvas] Overview Page
Download Help Document