Ada.Text_IO.Look_Ahead(c, EOL)


Input Marker

Get Routines and the Input Marker


Motivation for LookAhead

End of Line, and Get

End of Line, and LookAhead

End of FILE, and LookAhead

How to Use LookAhead

Procedure Look_Ahead Signature

Procedure Look_Ahead Behavior

LookAhead and End of File

LookAhead and End of File

Procedure Look_Ahead Examples

Skipping White Space

Other Languages: Java

Other Languages: C++

Other Languages: C