IDL virtual machine binary program

You need to create actual programs starting with pro name_program end ending with end. Run your program once. Type help, you will see the different compiled routines

IDL > save,"name_program.sav",/routines

set also IDL virtual machine.