Variable scope

RimStone uses scope rules for variables that are similar to other programming languages. Variables are defined within code-blocks and their scope is determined by such blocks.

Note that a variable with the same name will not be defined again in a sub-block (see code-blocks); rather the same variable will be used. Of course, variable with the same name in two separate blocks (i.e. not nested and within separate code blocks) will be indeed separate variables.
See also
Language
inline-code  
statements  
syntax-highlighting  
unused-var  
variable-scope  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.