View Single Post
Old 08-30-2005, 02:29 PM   #5 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
Quote:
ack, .. i was gonna try to look at it but your statements are not complete. i'm missing a few '}'
On the contrary, it's just the way his if()/else clauses is started that confuses the eye, in order to figure out the indentation.
But yes, I have a suggestion, keep a nice indentation/naming scheme/structure which makes your code easy to read, or atleast easier to understand for the reader.

Since you describe a wacky performance, a description of this would be helpfull, or atleast perhaps a test-bed where we can see what exactly is happening..
Quote:
Originally Posted by metazai
(I've edited out the way it determines the price amount)
Hmm.. unless this isn't exactly where it goes wrong I would like to see what that part does, it could be a previus error in that, which results in an error further down the code path.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote