--- parser3/src/include/Attic/pa_vstring.h 2001/02/25 13:23:01 1.5 +++ parser3/src/include/Attic/pa_vstring.h 2001/03/06 12:22:57 1.6 @@ -1,10 +1,12 @@ /* - $Id: pa_vstring.h,v 1.5 2001/02/25 13:23:01 paf Exp $ + $Id: pa_vstring.h,v 1.6 2001/03/06 12:22:57 paf Exp $ */ #ifndef PA_VSTRING_H #define PA_VSTRING_H +#include + #include "pa_value.h" class VString : public Value { @@ -17,6 +19,9 @@ public: // Value // string: value //void put_string(String *astring) { string=astring; } + // string: value + double get_double() { return atof(string.cstr()); } + public: // usage VString(Pool& apool) : Value(apool),