Anonymous user
Category:Ring: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 12:
Practical language designed for creating the next version of the Programming Without Coding Technology software.
Simple
Ring is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate code
See "Hello, World!"
The Main function is optional and will be executed after the statements, and is useful for using the local scope.
Func Main
See "Hello, World!"
Uses Dynamic Typing and Lexical scoping. No $ is required before the variable name!
You can use the '+' operator for string concatenation and the language is weakly typed and will convert automatically between numbers and strings based on the context.
nCount = 10 # Global variable
Func Main
nID = 1 # Local variable
See "Count = " + nCount + nl + " ID = " + nID
{{stub}}{{language|Ring}}
|