Qbasicnews.com
100 lines 4 1 thing... - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html)
+--- Thread: 100 lines 4 1 thing... (/thread-3916.html)



100 lines 4 1 thing... - ca336458 - 05-09-2004

This challenge requires a program to be 100 lines of code in length and the program must only do one thing!


100 lines 4 1 thing... - speedlemon - 05-09-2004

Code:
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
Print "Foo bar"

:bounce:


Re: 100 lines 4 1 thing... - Zack - 05-09-2004

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).


100 lines 4 1 thing... - cyberfish - 05-12-2004

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