*bug fix for write functions.
*remove CPPL::min and CPPL::max functions, and replace them to std::min or std::max.
Authored by: yonishi 2007-08-11
Parent: [r82]
Child: [r84]