Start from a main routine: Difference between revisions
Content added Content deleted
mNo edit summary |
|||
Line 211: | Line 211: | ||
=={{header|PARI/GP}}== |
=={{header|PARI/GP}}== |
||
GP scripts start from the top of the script. PARI code starts from the main function. |
GP scripts start from the top of the script. PARI code starts from the main function. |
||
=={{header|Pascal}}== |
|||
Pascal programs are mostly compiled and run a 'main' procedure automatically, this procedure is not explicitly named |
|||
main. Units (separate files of code without a main procedure) have initialisation code which also runs automatically. |
|||
=={{header|Perl}}== |
=={{header|Perl}}== |