Skip to main content

1.7) Simple Mathematics (cont'd)


Now try an example using multiplication. Open a file called simple_maths2.pro and insert the following lines into the file.

[code]
print, 2 * 3
END
[/code]

Using the IDL command prompt, run the program.

.r simple_maths2

IDL should print the number "6" to the screen.