next up previous contents
Next: Numeric constants Up: The TOM Programming Language Previous: Automated compilation   Contents


In the previous chapter you've seen how a TOM program is built from files, which contain classes and instances, which contain methods. This chapter explains the basics of methods, what you can make them do, and how to write that down in TOM.

Everything in a method body is an expression. We'll start with the simplest kind of expression: constants.

Pieter J. Schoenmakers tiggr at