cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.
Simple Script for Random Draw from 1 to n
julian
Community Manager Community Manager

This script prompts the user to enter a value for a random draw from 1 to n. The resulting number is displayed in a second window. For instructional purposes this script utilizes two different methods for drawing a window, Dialog() and New Window().

Instructions: Run the script and enter a value. Click "OK" to draw a random number from 1 to the value entered.

6977_Screen Shot 2014-07-09 at 9.55.17 PM.png6978_Screen Shot 2014-07-09 at 9.55.21 PM.png

Recommended Articles