How to read integers

Jackb190:
How would you read integers using this
while (!Serial.available()) {
}

Thanks

With that post you can not read whole or broken, I presume.

Be more specific about what your problem is and what you want to do.