The LONGINT ARRAY FROM SELECTION command fills the recordArray array with the (absolute) record numbers that are in selection.
If you do not pass the selection parameter, the command will use the current selection of aTable.
Note: The array element number 0 is initialized to -1.