eigenmath/list.cpp
George Weigt 887fee88d1 Misc.
2004-07-16 10:32:57 -07:00

13 lines
161 B
C++

// 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();
}