reading TObjString from file

Ulrich Jost (jost@evalo1.ific.uv.es)
Wed, 21 Apr 1999 14:08:11 +0200 (CET)


Hello,

I would like to store a TString in a file. To be able to use Write(), I
use instead TObjString. However, it seems that you cannot give a general
name and read the TObjString with eg file->Get("string"), this name is the
string itself.
How can I store a string under a general name and read it with this name?

TIA, Ulrich