Call a foreign-language function: Difference between revisions

Content added Content deleted
Line 1,502: Line 1,502:


=={{header|PARI/GP}}==
=={{header|PARI/GP}}==
Of course it is trivial to include C functions in PARI, and not uncommon. In GP the <code>system</code> and <code>install</code> commands allow foreign-language functions to be called.
Of course it is trivial to include C functions in PARI, and not uncommon. C++ functions are similar, as PARI is written in a C++-friendly style. The <code>system</code> and <code>install</code> commands allow foreign-language functions to be called from within gp.


=={{header|Pascal}}==
=={{header|Pascal}}==