PDA

View Full Version : Hello World: CHALLENGE!!!!!!!


xilica
05-21-2002, 10:18 PM
Yep, it may be easy...... but i wanna see who can make write a program which displays the text: Hello World ..... i wanna see who can do this in the LEAST NUMBER of lines possible.

and i want the text to flash !!!! flash as many times as u want.... but i want the text to flash in a consecutive order.. example flash every 1 seoncd... 2 seconds..... i dont care as long as it flashes


seems easy: think again..... the LEAST NUMBER OF LINES POSSIBLe

thank you and have fun

Bradmont
05-21-2002, 10:23 PM
I'll do one in bash.


while true; do echo "hello world"; sleep 1; clear; sleep 1; done


there. One line.

xilica
05-21-2002, 10:24 PM
well, u did it in one line...... now i am gonna go for the less words in one line.......by the way... what language is that?

Dru Lee Parsec
05-21-2002, 10:26 PM
Folks. One of the nice things about this forum is that you can click "My Profile" and then "Edit Ignore List". Using these tools you can easily ignore Xilica (as I do).

Don't feed the trolls.

Bradmont
05-21-2002, 10:28 PM
Originally posted by xilica
by the way... what language is that?

bash.

xilica
05-21-2002, 10:29 PM
what do you mean ignore.. anyway here is my code.... i used a timer:


private sub timer1_timer()
label1.forecolor=rgb(rnd*255,rnd*255,rnd*255)
end sub



by the way, never heard of bash.... seems like a cool language though!!

Bradmont
05-21-2002, 10:30 PM
Originally posted by Dru Lee Parsec
Folks. One of the nice things about this forum is that you can click "My Profile" and then "Edit Ignore List". Using these tools you can easily ignore Xilica (as I do).

Don't feed the trolls. Thanks for the tip. :)

inkedmn
05-21-2002, 11:49 PM
python wins:


print "hello world"


now where's my cookie...

xilica
05-21-2002, 11:50 PM
inkedmn u also have to make the text flash but anyway.....

sry if i mocked anyones hard work in this competition forum or pissed anyone off because i didnt mean it.

Nafae
05-22-2002, 10:25 AM
This is getting tiresome. Thread closed.