Note that this function is hardly needed anymore, because arrays can be added by the + operator, and can be constructed and initialized by the ({ }) operator. The function's only use to construct big empty arrays.
string *buffer; buffer = allocate(50);