noticed differences between Arduino create and codebender

hello all, not sure if any one else who came over from code bender noticed differences in the way we need to write our code but I have found at least one, maybe more when I replace my leonardo. For example:

this cannot be nested. The solution is to break them out

int pitchin = map(AnalogRead(pitch_in),0,1023,0,25);

it compiles, but the results appear to link all the analog pins into one reading. I have tested with two and work when one value changes at a time, but when changed together results become the same when serial printing the values.

so I have found that this keeps the values independent

int p1 = AnalogRead(pitch_in)
int pitchin = map(p1,0,1023,0,25);

has any one else seen things like this?

thanks!

It's not clear what you mean by "link all the analog pins into one reading". Please provide more details.

It is hard to diagnose something you cannot see.

The sketch in question would be invaluable right about now.

I think I know what you mean and it is also something I think I have come across in both IDE.

Try not to forget that the Arduino IDE's are bound to have differences so comparisons don't always mean much.
I would trust the Arduino IDE's over codebender.