eigenmath/list.cpp

14 lines
161 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;
push(nil);
for (i = 0; i < n; i++)
cons();
}