DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby for loop
for i in 0..2 do print(i) end # => 0 # => 1 # => 2
PREVIOUS
NEXT
Tagged:
#ruby
#loop
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit