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.

Work in Progress / Ident software

Author
Message
Neodelito
18
Years of Service
User Offline
Joined: 29th Jul 2005
Location:
Posted: 8th May 2011 02:35 Edited at: 9th May 2011 23:26
sorry this title.. is indent


Hi.. i have very bad make indentation ..
so i write this simply code only work for darkbasic ..
here are some screenshot..
Update K&R fornmat added.




Attachments

Login to view attachments
tiresius
21
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 8th May 2011 03:54
Nice idea, but shouldn't it indent like this?




A 3D marble platformer using Newton physics.
Neodelito
18
Years of Service
User Offline
Joined: 29th Jul 2005
Location:
Posted: 8th May 2011 07:51
Yep.. this is K&R Indent yes i can..
my idea is give to user 3 method to indent...
K&R
Allman
and
GNU..



Neodelito
18
Years of Service
User Offline
Joined: 29th Jul 2005
Location:
Posted: 9th May 2011 23:24
update..
now you can add code from external file or use clipboard,,



Attachments

Login to view attachments
Quel
15
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 10th May 2011 22:01
It's a nice little challenge as a programmer to think about stuff like this, but i don't see a situation when i would go the so called there "crap" way about coding, actually getting the stuff to work that "crap" way (this step is the most unlikely, unless it is some sort of "hello world!"), AND THEN i would have it indented by a program...

Anybody, who does it that way?

-In.Dev.X: A unique heavy story based shoot'em ~25%
-CoreFleet: An underground commander unit based RTS ~15%
-TailsVSEggman: An Sonic themed RTS under development for idea presentation to Sega ~15%
Neodelito
18
Years of Service
User Offline
Joined: 29th Jul 2005
Location:
Posted: 12th May 2011 07:27
ha ha.. is only and example.. is for show how work this app.

many people write using their own method of indent. this is only the basic and formal.



Login to post a reply

Server time is: 2024-04-12 12:25:31
Your offset time is: 2024-04-12 12:25:31