User Input: Difference between revisions

m
→‎{{header|Ada}}: syntax highlighting
(→‎{{header|Python}}: Added warnings, Python 3.0 equivalents, more explanation.)
m (→‎{{header|Ada}}: syntax highlighting)
Line 19:
-- may raise exception Constraint_Error if value entered is not a well-formed integer
end Get_Integer;
</ada>
The functions above may be called as shown below
<ada>
My_String : String := Get_String;
My_Integer : Integer := Get_Integer;
Anonymous user