pike.git / doc / builtin / allocate

version» Context lines:

pike.git/doc/builtin/allocate:16:    int **c=allocate(17, "array");    mapping *c=allocate(17, "mapping");    array (list (int)) c=allocate(17, "list");    array (string) c=allocate(17, "string");      NOTA BENE    Arrays are dynamically allocated there is no need to declare them    like int a[10]=allocate(10); (and it isn't possible either) like    in C, just int *a=allocate(10); will do.    + KEYWORDS +  array +    SEE ALSO    sizeof, aggregate, arrayp