Subscribe Bookmark RSS Feed
julian

Staff

Joined:

Jun 25, 2014

Simple Script for Random Draw from 1 to n

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

Article Labels
Article Tags
Contributors