--- parser3/src/include/pa_common.h 2001/03/12 17:00:46 1.8 +++ parser3/src/include/pa_common.h 2001/03/13 18:32:46 1.10 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.8 2001/03/12 17:00:46 paf Exp $ + $Id: pa_common.h,v 1.10 2001/03/13 18:32:46 paf Exp $ */ #ifndef PA_COMMON_H @@ -25,6 +25,12 @@ char *getrow(char **row_ref,char delim=' //char *lsplit(char *,char); char *lsplit(char **string_ref,char delim); char *rsplit(char *string, char delim); +char *format(Pool& pool, double value, char *fmt); + +#ifndef max +inline int max(int a,int b) { return a>b?a:b; } +inline int min(int a,int b){ return a