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.