Program name: Difference between revisions

m
(PARI)
Line 1,062:
When including another file containing another <code>ORDER_PP</code> expression, within that file the <code>__FILE__</code> macro will expand to the name of that file; but arguably that expression constitutes a separate Order program within the greater C project.
 
=={{header|PARI./GP}}==
GP does not have access to the name of the program running (especially since it is usually run from the REPL gp). PARI has the same access to <code>argv[0]</code> as [[#C|C]].