Computer Science Canada Syntax Quickref: Turing <--> Eiffel |
Author: | wtd [ Wed Mar 16, 2005 5:03 pm ] | ||||||||||||||||||||||||||||||||||||||||||
Post subject: | Syntax Quickref: Turing <--> Eiffel | ||||||||||||||||||||||||||||||||||||||||||
Eiffel for the Turing Programmer Input-Output Printing to the standard output. Turing
Eiffel
The same, without skipping to a newline. Turing
Eiffel
Printing an integer. Turing
Eiffel
Printing a floating point number. Turing
Eiffel
Getting a line from the keyboard. Turing
Eiffel
Getting a single character from the keyboard. Turing
Eiffel
Getting an integer from the keyboard. Turing
Eiffel
Getting a float from the keyboard. Turing
Eiffel
Math
Comparisons
Conditional Statements/Expressions
Function Definition
Comments
More to come. |