Anonymous user
Category:Elena: Difference between revisions
→The simplest program
Line 14:
== The simplest program ==
To create a simple console program we have to declare the
program =
Line 20:
].
Everything in ELENA is an object. To interact with it we have to send a message. The simplest (
The statement should be terminated by a dot (
program =
Line 29:
].
In our example the action is
Several message operations can be done in a single statement separated by a semicolon:
Line 43:
How are you?
We may read a user input by sending
program =
Line 55:
Hello Alex
== Declaring a variable ==
|