Does anyone know how i can read the $COLUMNS and $ROWS in a console application in Linux?
When i try
COLUMNS and ROWS are not listed.Code:for i := 0 to GetEnvironmentVariableCount do Writeln(GetEnvironmentString(i));
I would like to somehow execute "echo $COLUMNS" and pipe the result back to the program.
Bookmarks