Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
16
Task/Variables/Ring/variables-2.ring
Normal file
16
Task/Variables/Ring/variables-2.ring
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
x = "Hello" # x is a string
|
||||
see x + nl
|
||||
x = 5 # x is a number (int)
|
||||
see x + nl
|
||||
x = 1.2 # x is a number (double)
|
||||
see x + nl
|
||||
x = [1,2,3,4] # x is a list
|
||||
see x # print list items
|
||||
x = date() # x is a string contains date
|
||||
see x + nl
|
||||
x = time() # x is a string contains time
|
||||
see x + nl
|
||||
x = true # x is a number (logical value = 1)
|
||||
see x + nl
|
||||
x = false # x is a number (logical value = 0)
|
||||
see x + nl
|
||||
Loading…
Add table
Add a link
Reference in a new issue