parent
515ab81477
commit
9c3e23e075
2 changed files with 32 additions and 2 deletions
|
|
@ -1,9 +1,25 @@
|
|||
discard """
|
||||
output: "0123456789"
|
||||
output: '''
|
||||
0123456789
|
||||
0.0
|
||||
'''
|
||||
"""
|
||||
|
||||
# Test new countup
|
||||
|
||||
for i in 0 ..< 10'i64:
|
||||
stdout.write(i)
|
||||
echo "\n"
|
||||
|
||||
echo()
|
||||
|
||||
# 11099
|
||||
|
||||
var
|
||||
x: uint32
|
||||
y: float
|
||||
|
||||
for i in 0 ..< x:
|
||||
if i == 1: echo i
|
||||
y += 1
|
||||
|
||||
echo y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue