Start from a main routine: Difference between revisions

GP and PARI
(→‎{{header|REXX}}: added the REXX language. -- ~~~~)
(GP and PARI)
Line 52:
=={{header|Mathematica}}==
Mathematica automatically starts a REPL (read-eval-print loop), which is a kind of event loop. If that is not desired, pass -run on the command line. Note that if Mathematica is called via MathLink from within an external program, then the main loop has to be defined, which will usually differ from the standard one.
 
=={{header|PARI/GP}}==
GP scripts start from the top of the script. PARI code starts from the main function.
 
=={{header|Perl}}==