Programming a circuit simulation with SPICE is much like programming in any other computer language: you must type the commands as text in a file, save that file to the computer's hard drive, and then process the contents of that file with a program (compiler or interpreter) that understands such commands.
preview:
http://www.allaboutcircuits.com/vol_5/chpt_7/3.html
6/5/2006