Hi Frank
Oxygen only supports static array declarations, so you have to use a constant to specify the number of elements, not a variable. The memory space for the array is determined at compile time.
This issue escaped detection before, and worked due to a large spurious index value being used.
This is how it now looks in projects/Console/ConsoleC.inc
method GetChrsAt( sys aX, sys aY, sys aNumCharsToRead ) as string
sys numRead
char charsRead[256]
COORD crd => ( aX, aY )
ReadConsoleOutputCharacterA( mhOut, charsRead, aNumCharsToRead, crd, numRead )
return charsRead
end method
Charles