- Joined
- Mar 8, 2006
- Sythe Gold
- 11
- Messages
- 1,858
- Age
- 33
Code:
# *COMMENT* After you put this program in and save it, type SytheAdmins and it will repeat whats after puts.
# *COMMENT* Sythe.org has too many admins
#!/user/bin/ruby
def SytheAdmins
puts "Sythe, Steph, Clash, Annex, Unknown, Vic, Cheater, and Filefragg are the admins of Sythe.org"
10.times do
end
# Adds comments
def is defining fuctions
puts lets you define other things
10.times do will make it say the SytheAdmin Function 10 times.
One question though to any Ruby programmers, would 10.times do go before or after the puts defining?
















