bind.orchid
1
2
3
4
5
6
7
8
9
10
11
-- An Orchid program demonstrating the use of the `bind!` keyword.
import! orchid.console;
main! {
-- Binds an identifier called `message` from this line forward to the end of the procedure.
bind! message = "Hello, Orchid!";
-- Bound identifiers can be used as expressions in other statements and expressions.
call! console.write_line message;
}