If you know PASCAL:

C++ code:
Code:
//C++
int value = 50;
int *myarray = new int[value]
But how to do it in PASCAL
If i know the number of elements of the array i would do
Code:
var myarray:array[1..100] of integer;
{but how do i declare an array on the heap in PASCAL}