mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Added assert
This commit is contained in:
parent
eeddb0b25a
commit
2b9adec087
6 changed files with 15 additions and 2 deletions
|
|
@ -12,6 +12,9 @@ is added implicitly by the compiler and can not be specified by an end user.
|
|||
|
||||
The following declarations are accessible:
|
||||
|
||||
\descr{\lstinline|fun assert (n, s, ...)|}{Asserts that \lstinline|n| is non-zero; otherwise raises \lstinline|failure| with
|
||||
a corresponding error message.}
|
||||
|
||||
\descr{\lstinline|fun stringInt (s)|}{Converts a string representation of a signed decimal number into integer.}
|
||||
|
||||
\descr{\lstinline|fun read ()|}{Reads an integer value from the standard input, printing a prompt "\lstinline|>|".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue