Selected keywords
Unicon has about 75 keywords. Keywords are global names beginning with an ampersand with a predefined meaning. Many keywords are constant or read-only values that are built into the language, while others are associated with built-in domain-specific language facilities such as string scanning or graphics. This section lists the most essential keywords, many of which appear in the examples in this book:
&clock : strThe
&clockread-only keyword produces the current time of day.
&cset : csetThe
&csetconstant keyword denotes the cset containing every character.
&date : strThe
&dateread-only keyword produces the current date.
&digits : csetThe
&digitsconstant keyword denotes the cset containing"0"through"9".
&errout : fileThe
&erroutread-only keyword denotes the standard location for error output, often...