Eigenmath/list.cpp

14 lines
169 B
C++
Raw Normal View History

2015-01-27 21:13:27 +01:00
// Create a list from n things on the stack.
#include "stdafx.h"
#include "defs.h"
void
list(int n)
{
int i;
push(symbol(NIL));
for (i = 0; i < n; i++)
cons();
}