mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
removing 'g' on the xparse cmd args as it was deprecated and removed in newer version
This commit is contained in:
@@ -19,17 +19,17 @@ Your Javascript program is stored into the Program Memory, and since its capacit
|
||||
\index{js extensions}\thismachine\ provides the extra functions for your convenience.
|
||||
|
||||
\begin{outline}
|
||||
\1\inlinesynopsis[Array]{head}{}{returns the first element of the array.}
|
||||
\1\inlinesynopsis[Array]{last}{}{returns the last element of the array.}
|
||||
\1\inlinesynopsis[Array]{tail}{}{returns the subarray that omits the \emph{head} element.}
|
||||
\1\inlinesynopsis[Array]{init}{}{returns the subarray that omits the \emph{last} element.}
|
||||
\1\inlinesynopsis[Array]{sum}{selector}{returns the sum of the elements of the array. Selector is optionally defined to indicate how the value must be transformed to obtain the sum.}
|
||||
\1\inlinesynopsis[Array]{max}{selector}{returns the maximum among the elements of the array. Selector is optionally defined to indicate how the value must be transformed to obtain the max.}
|
||||
\1\inlinesynopsis[String]{head}{}{returns the first character of the string.}
|
||||
\1\inlinesynopsis[String]{last}{}{returns the last character of the string.}
|
||||
\1\inlinesynopsis[String]{tail}{}{returns the substring that omits the \emph{head} character.}
|
||||
\1\inlinesynopsis[String]{init}{}{returns the substring that omits the \emph{last} character.}
|
||||
\1\inlinesynopsis[String]{trimNull}{}{trims null characters at the \emph{end} of the string.}
|
||||
\1\inlinesynopsis[Array]{head}[]{returns the first element of the array.}
|
||||
\1\inlinesynopsis[Array]{last}[]{returns the last element of the array.}
|
||||
\1\inlinesynopsis[Array]{tail}[]{returns the subarray that omits the \emph{head} element.}
|
||||
\1\inlinesynopsis[Array]{init}[]{returns the subarray that omits the \emph{last} element.}
|
||||
\1\inlinesynopsis[Array]{sum}[selector]{returns the sum of the elements of the array. Selector is optionally defined to indicate how the value must be transformed to obtain the sum.}
|
||||
\1\inlinesynopsis[Array]{max}[selector]{returns the maximum among the elements of the array. Selector is optionally defined to indicate how the value must be transformed to obtain the max.}
|
||||
\1\inlinesynopsis[String]{head}[]{returns the first character of the string.}
|
||||
\1\inlinesynopsis[String]{last}[]{returns the last character of the string.}
|
||||
\1\inlinesynopsis[String]{tail}[]{returns the substring that omits the \emph{head} character.}
|
||||
\1\inlinesynopsis[String]{init}[]{returns the substring that omits the \emph{last} character.}
|
||||
\1\inlinesynopsis[String]{trimNull}[]{trims null characters at the \emph{end} of the string.}
|
||||
\end{outline}
|
||||
|
||||
|
||||
@@ -43,11 +43,11 @@ Your Javascript program is stored into the Program Memory, and since its capacit
|
||||
\index{stdio (library)}These are standard input/output functions:
|
||||
|
||||
\begin{outline}
|
||||
\1\inlinesynopsis{print}{String}{prints a string without a new line.}
|
||||
\1\inlinesynopsis{println}{String}{prints a string with a new line.}
|
||||
\1\inlinesynopsis{printerr}{String}{prints a string to error output without a new line.}
|
||||
\1\inlinesynopsis{printerrln}{String}{prints a string to error output with a new line.}
|
||||
\1\inlinesynopsis{read}{}{reads a string from the keyboard. Hit the Return to finish reading.}
|
||||
\1\inlinesynopsis{print}[String]{prints a string without a new line.}
|
||||
\1\inlinesynopsis{println}[String]{prints a string with a new line.}
|
||||
\1\inlinesynopsis{printerr}[String]{prints a string to error output without a new line.}
|
||||
\1\inlinesynopsis{printerrln}[String]{prints a string to error output with a new line.}
|
||||
\1\inlinesynopsis{read}[]{reads a string from the keyboard. Hit the Return to finish reading.}
|
||||
\end{outline}
|
||||
|
||||
\section{Console}
|
||||
|
||||
Reference in New Issue
Block a user