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 / 3ds to dbo converter view the converted file!!!

Author
Message
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 6th Nov 2005 12:36 Edited at: 6th Nov 2005 13:06
x to dbo converter view the converted file!!!


Like the converter that comes with dbc but this a dbpro .x to .dbo

Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 6th Nov 2005 13:06
opps sorry this is a .x to .dbo sorry again

blanky
19
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 6th Nov 2005 20:43
Quote: "The 20 Line Challenge
So you think you can code? Prove it! Write the best program you can in 20 lines of code or less. Read the rules post inside for info."


Sorry, but how is this difficult? The bulk of what you have done there could be performed in three lines.

Now, if it had a file browser, and a way to move around, zoom in, and rotate the object, then that would be pretty cool. Especially if it had a UI.

You're allowed 25 commands per line, and at a limit of 20 lines that gives you 500 commands you can do...
Drew Cameron
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 7th Nov 2005 23:02
What's the problem here Blanky?

The guys made a program. It's under 20 lines. What's wrong here?
Nothing.

Dumbo & Cool - 10.
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 8th Nov 2005 00:54 Edited at: 8th Nov 2005 00:57
Ditto what Drew said.

A tip:
instead of

you could do


Also, in your function, you could use EXIT in your for/next loop once "." is found. This would exit the loop and a would hold the number of the position of "." so:

could be simplified to:


Adding a file browser would be a nice little challenge for you though.


The word "Gullible" cannot be found in any English Dictionary.
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 8th Nov 2005 16:58
Thanks Drew and Flashing Blade i'll add a file browser later on

Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 10th Nov 2005 16:59
any suggestions?

Login to post a reply

Server time is: 2024-04-20 10:48:02
Your offset time is: 2024-04-20 10:48:02