So for example;

VB Code:
  1. dim incomeData as long
  2. dim incomeDataArr(width, height)
  3. for x = 0 to width
  4. [INDENT]for y = 0 to height[/INDENT]
  5. [INDENT]sck.getdata incomeData[/INDENT]
  6. [INDENT]incomeDataArr(x,y) = incomeData[/INDENT]
  7. [INDENT]next[/INDENT]
  8. next

Regards