Prism provides several methods for finding out the type of a variable.
From the menu bar - Choose the Whatis selection from the Debug menu. The Whatis dialog box appears; it prompts for the name of a variable. Click on Whatis to display the information about the variable in the command window.
From the source window - Select a variable by double-clicking on it or by dragging over it while pressing the left mouse button. Then hold down the right mouse button; a pop-up menu appears. Choose Whatis from this menu. Information about the variable appears in the command window.
From the command window - Issue the whatis command from the command line, specifying the name of the variable as its argument.
Prism displays the information about the variable in the command window. For example,
whatis primes logical primes(1:999)