// Default argument declarations string technique, chemical; // Entity argument functions technique = Technique(); chemical = Chemical(); // Variable declarations double tb, tc; string prop; int err; // Retrieve boiling point prop = "Boiling Point"; tb = CProp(chemical, prop, 0, 0, err); if( err != 0 ) return FALSE; // Calculate estimate tc = 95.3 + 1.22 * tb; // Assign estimate SetResult(tc); // Successful return TRUE;