Writing and reading TObString

Ruben Shahoian (Ruben.Shahoyan@cern.ch)
Mon, 17 May 1999 21:07:55 +0200 (METDST)


Hello,
I am new in root, sorry for trivial question:
the first eaxmple I've tried produced an error:

[rsplus11] ~ > root
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 2.21/08 18 March 1999 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

FreeType Engine v1.1 used to render TrueType fonts.

CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Welcome to the ROOT tutorials
root [0] TPaveLabel hello(0.,0.,0.,0.,"Hello World");
root [1] hello.Draw();
Warning in <MakeDefCanvas>: creating a default canvas with name c1

*** Break *** segmentation violation

*** Break *** segmentation violation

(it draws the canvas but it is empty)

my settings are:
setenv ROOTSYS /afs/cern.ch/na49/library.4/ROOT/v2.21/rs_aix41/root
setenv LIBPATH ${ROOTSYS}/lib
setenv PATH ${PATH}:${ROOTSYS}/bin

Will be greateful for advise.

Ruben