If you are using Freepascal then you can use any pointer as array (C-Style).
"someWordPtr[20] := 0" -> would access element #19.

If not then you can only cast the pointer to an array or do the
pointer-arithmetics by yourself: "inc(integer(workPtr), x*sizeof(someType))"

Note that range checking doesn't work, of course.