input_array(n, prompt)

Displays a dialog window with an empty table for the user to enter an array of size n. The text prompt is an optional message to be displayed on the dialog window.

input_array(a, prompt)

Displays a dialog window with a table of values for the user to enter an array. The table is initialized with the values stored in array a. The text prompt is an optional message to be displayed on the dialog window.


Example


a = input_array( 5, "Enter your numbers")

b = ( 4, 5, 6);

a = input_array( b, "Please change these values.")