RPGIV @ Work

A unique site for RPG and System i Lovers


Hi, this site will provide all what you need in System i and RPG developments.

My Name is Chamara Withanachchi, System i Expert and RPG Developer. And in the field for last 11 years.

I hope you will find lot of valuable information from this site

%ALLOC - Allocate Storage Print E-mail
User Rating: / 0
Written by Chamara Withanachchi   

%ALLOC returns a pointer to newly allocated heap storage of the length specified. The newly allocated storage is uninitialized.

The parameter must be a non-float numeric value with zero decimal places. The length specified must be between 1 and 16776704.

   // Allocate an area of 200 bytes
   pointer = %ALLOC(200);
<Previous   Next>