Newbie problem? help appreciated

im just starting to learn mel and i picked up complete maya programming by david gould
i shortly ran into a problem
when setting up the development environment in chapter 3.3.3 the following was to be executed in the scripteditor

string $scriptsPath = internalVar -userScriptDir;
chDir $scriptsPath;
system( "start c:programUltraEdituedit32.exe learning.mel" );

this doesnt work and return this error msg
// Error: Cannot find procedure "chDir". //

i suppose it is looking for a chDir.mel but i couldnt find any in my script dirs

what to do about this?

chDir $scriptsPath; //wrong

chdir $scriptsPath;//correct

Mel is case sensitive and yoru code has wrong case. chdir is spelled all lowcaps!

aha!

Thanks alot!