Files
Digital-Research-Source-Code/MPM OPERATING SYSTEMS/MPM-86/MISC DRI DISKS/05/LFUNC1.C
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

58 lines
1.1 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include <logo.h>
/*****************************************************************/
/* */
/* LOGO Primitive Functions-1 */
/* */
/*****************************************************************/
double tan();
double sin();
double cos();
double sqrt();
double atan();
double exp();
double log();
double log10();
double fabs();
lnum rnval();
lnum nval();
sub_f ();
add_f ();
div_f ();
lss_f ();
gtr_f ();
mul_f ();
pow_f ();
nextcom()
{
editon = FALSE; /* not in editor */
defining = FALSE; /* not in TO */
getcom('?');
if (acceq("to"))
makdef();
else
{
if (!(initial || inpath == CONSOLE))
{
if (!((acceq("make")) ||
(acceq("package")) ||
(acceq("pprop"))))
putcom();
}
if (acceq("bye"))
{
full_scr();
exit(0);
}
else
if (acceq("collect"))
debcoll = !debcoll;
else
{
interp();
}
}
}