diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-18 07:51:56 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-18 07:51:56 +0100 |
commit | e54849cf1475bae36726f9860b88490da4388935 (patch) | |
tree | cede47e8f2e975e65dd6b546aff86a5c194b6e69 | |
parent | m (diff) | |
download | mds-e54849cf1475bae36726f9860b88490da4388935.tar.gz mds-e54849cf1475bae36726f9860b88490da4388935.tar.bz2 mds-e54849cf1475bae36726f9860b88490da4388935.tar.xz |
arrays
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | doc/info/mds.texinfo | 48 |
1 files changed, 45 insertions, 3 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index 177f26b..7441419 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -5175,6 +5175,7 @@ line feeds for new lines. * Layout Assumptions:: Making assumption about the keyboard layout. * Include Statement:: Including base files. * Layout Macros and Functions:: Reducing repetition. +* Builtin Functions:: Functions provided by the compiler. @end menu @@ -5717,9 +5718,7 @@ end function A final constract to make layout code less repetitive is let-statements. This can be used to assign values to variables, and -declar variables in undefined. Variable names -can only be numerical and most not start with -a zero. @code{\0} is not valid variable name. +declar variables in undefined. The code @@ -5750,6 +5749,49 @@ macro latter/1 end macro @end example +It is also possible to declare arrays: + +@example +let \1 : @{ "å" "ä" "ö" "à" "é" "ü" @} +@end example + +Arrays may however not have arrays for +values. + +Because arrays can be very large, they, but only +them, may span multiple lines. For example +you may write + +@example +let \1 : @{ + "å" "ä" "ö" "à" "é" "ü" + @} +@end example + +but not + +@example +let \1 : + @{ "å" "ä" "ö" "à" "é" "ü" @} +@end example + +See @ref{Builtin Functions} for how they are used. + +Variable names can only be numerical and most not +start with a zero. `0' is not valid variable name, +and thus @code{\0} does not address a variable. +Macro and function names, may only include +`0'--`9', `a'--`z', `A'--`Z' and `_', but must and +not start with `0'--`9'. Additionally, when declared +macro and function names must be suffixed with `/' +follwed by the exact number of arguments the macro +or function takes. + + + +@node Builtin Functions +@subsection Builtin Functions + @node Discussion |