Process
In LCA as Code, every system is built around one or several process
es: they are the core of your
model and what you evaluate. In order to declare a process called my_first_process
, you must type
the following:
// Type the two lines below!
process my_first_process {
}
Have you typed it ? Well done! You have declared your first process.
Notice that the word process
is colored differently than the rest ? This is to let you know that
the system has recognized a special word declaring something -- we call this a keyword. You will
notice that other keywords will also be colored.
Also notice that the line starting with //
is greyed: this is a comment, by and for humans. The
computer will never read your comments, so you can put them anywhere you feel useful, or omit them
altogther.