Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / Hello World, and a few other thingys.

Author
Message
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 19th Aug 2004 09:54 Edited at: 19th Aug 2004 10:13
I've been using my dad's PC (mine's in a cardboard box) and since I didn't have any of my projects here I decided I'd try a 20-line challenge. It's the first time I do this after 4 years of using DB.
[edit] This should run in both DBP/DBC.

I was too lazy to do the "world" in the "Hello World" example.
Any way, I want to see if anybody can make anything interesting with this. Make your own functions and add them inside "if cmd$=";": " by adding a new "IF" following one of the 3 examples. Then post here!

D Man
22
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: Germany
Posted: 22nd Aug 2004 18:59
Cool.
Brain f u c k in 16 lines!
Good job .

God is real, unless declared integer.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 23rd Aug 2004 05:44
Thanks, D Man. I had to write the whole code 3 times because the IDE would just crash and I´d lose all my work.
later, I´ll try doing it with memblocks. Should be much faster than strings, but probably won´t fit in 20 lines.

Login to post a reply

Server time is: 2024-11-22 04:43:47
Your offset time is: 2024-11-22 04:43:47