All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info
Discussion Forums
Login: Password:Remember me: Sign up! | Forgot password

Forums > Commons
A place to come and discuss the features of this site, as well as suggest/request additions and modifications. Oh yeah, and Bug reports too.
DJ
2003-05-01 15:00:03
Accomodating algorithms

With the addition of the 'algorithms' category, which will involve, to my understanding, computer programming functions and the like, there are a few changes that might be prudent.

First, in one of the problems I was submitting, I ended a line with a brace { followed by a break tag
, which somehow caused the entire next line to disappear until another
, which was ignored as well. I'm not sure why that happened like it did, but I cannot get the problem to display the way I want it to.

My suggestion would be to enable the <pre> tag, for preformatted text, which could be used for any computer code that will be displayed. Text will show up in a fixed-with font, and eliminate the need to manually type in
tags or   to line things up. I think such a change would be simple and effective for a practical display of typed code.

My other suggestion, which would be a little more work, but a little more flexible perhaps, would be to just invent a tag like <code> for people to use. With PHP it would be relatively easy to change that tag to display however you wanted it to, such as changing the font, replacing end of line with
tags automatically, perhaps, and even replacing leading spaces with tabs or indented lines. Maybe even indent the whole section of code, in the same way the <blockquote> HTML tag works. I dunno. There are a lot of possiblities.

Maybe this question could be one of the first problems to put into the category. =P

DJ
2003-05-01 15:02:02
Re: Accomodating algorithms

Oops, every time I type out >br< or &nbsp; in the previous post it didn't show up. Silly me. Maybe the forum needs a preview button for morons like me.

DJ
2003-05-01 15:03:35
Re: Accomodating algorithms

That, and I don't know which is "greater than" and which is "less than." I meant, of course, the <br> tag.

Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information