Sorry I thought it was clear what to do. Just as before with the pow function you simply include the file f1b2vc1.cpp into the GLOBALS_SECTION. You will have to add 2 spaces at the beginning of each line because tpl2rem wants that. That's it! -- David A. Fournier P.O. Box 2040, Sidney, B.C. V8l 3S3 Canada Phone/FAX 250-655-3364 http://otter-rsch.com