Creation and initialization of data of other types

newlist(n):

newlist(n) returns an empty list with buffer size n.

newstring(n):

newstring(n) returns an empty string with buffer size n.

newstring(s, n) returns a copy of string s with buffer size extended to n.

stack(): returns a new empty stack

queue(): returns a new empty queue

newpointer(x): create a pointer that points to x

newptrset(s): create a set of pointers that point to a value in the set s.

newptrnset(s): create a set of pointers that point to a value not in the set s.

convert(x, type): convert value x into new type type. Type may be specified by the built-in set function _D, _Z, _B, _M, _L, _S, _C, or character strings "D", "Z", "B", "M", "L", "S", "C".



oz 2009-12-22