M_NAME</b><br />
Returns <i>Ferret </i>if running classic Ferret, or <i>PyFerret</i> when running PyFerret. This allows scripts to be written to run under both programs.</p>
<p>To write scripts that run under both Ferret and PyFerret, syntax that is valid only under one or the other programs can be chosen with, for example,</p>
<pre>
IF ($program_name"0|PyFerret&gt;1|*&gt;0") THEN 
   SET TEXT/FONT=arial
ELSE
   SET MODE META
ENDIf

... Ferret script commands

IF ($program_name"0|PyFerret&gt;1|*&gt;0") THEN