next up previous contents index
Next: pointer,string Up: String Previous: error   Contents   Index


new


Usage

new n


Signature

new: MachineInteger $\to$ %


Parameter Type Description
n MachineInteger a nonnegative size


Returns

Returns a string of $n+1$ null characters. This is useful when creating a memory buffer of a specified number of bytes, or when creating a string to be used as an TextWriter.



Manuel Bronstein 2004-06-28