Qbasicnews.com

Full Version: 100 lines 4 1 thing...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This challenge requires a program to be 100 lines of code in length and the program must only do one thing!
Code:
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
Print "Foo bar"

:bounce:
Quote:This challenge requires a program to be 100 lines of code in length and the program must only do one thing!
Only "do" one thing? Define "do" and define "thing". :wink: Like Speedlemon posted, there's something...but comments "do" something - they make the interpreter/compiler skip over them.
Like, you could have the statement "A%=1" for 97 lines and then have the program make a file and put something in it, and close it (3 lines).
i can do that it just would be like a particular function. lets say... make a chicken barf...( :barf: ) then you would have lines drawing it then lines erasing it or lines reprinting the different tiles of the chicken barfing (what in the world gave me that idea?) well if anyone does pls pm it 2 me