eigenmath/list.cpp

14 lines
169 B
C++
Raw Permalink Normal View History

2004-07-16 19:32:57 +02:00
// Create a list from n things on the stack.
#include "stdafx.h"
#include "defs.h"
void
list(int n)
{
int i;
2006-01-16 20:37:31 +01:00
push(symbol(NIL));
2004-07-16 19:32:57 +02:00
for (i = 0; i < n; i++)
cons();
}