In this section, we'll create a simple "Hello World" program consisting of two
PRO hello_main name = '' READ, name, PROMPT='Enter Name: ' str = HELLO_WHO(name) PRINT, str END
hello_main.proin the main IDL directory (which the Save As dialog should already show).
FUNCTION hello_who, who RETURN, 'Hello ' + who END
hello_who.proin the main IDL directory.
We now have a simple program consisting of a user-defined procedure, which calls a user-defined function.