-----------------------------------------------------------------------------
root> .x first.C
Syntax Error: %f@\ n",i,sqrt(i));"
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:25
Error: improper lvalue
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:25
Error: Can't call TText::DrawText() in current scope
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:25
Syntax Error: %f@\ n",i,sqrt(i));"
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:25
Error: improper lvalue
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:25
Error: No symbol t.DrawText(3,14,"Root > for (int i=2;i<7;i++)
printf("sqrt(%d)=%f@\ n",i,sqrt(i));") in current scope
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:25
Error: No symbol x",0,10)" in current scope
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:26
Error: / Illegal operator for pointer 2
FILE:/home/jens/debian/root/root.orig/tutorials/./first.C.old LINE:26
------------------------------------------------------------------------------
Here is a patch:
------------------------------------------------------------------------------
25,26c25,26
< t.DrawText(3,14,"Root > for (int i=2;i<7;i++) printf("sqrt(%d) = %f@\ n",i,sqrt(i));");
< t.DrawText(3,10,"Root > TF1 f1("f1","sin(x)/x",0,10)");
--- > t.DrawText(3,14,"Root > for (int i=2;i<7;i++) printf(\"sqrt(%d) = %f@\ n\",i,sqrt(i));"); > t.DrawText(3,10,"Root > TF1 f1(\"f1\",\"sin(x)/x\",0,10)"); ------------------------------------------------------------------------------
----- Jens.Ritter@weh.rwth-aachen.de grimaldi@debian.org KeyID: 2048/E451C639 1998/01/28 Print: 5F 3D 43 1E 24 1E CC 48 1E 05 93 3A A7 10 73 37 Hiermit untersage ich die Nutzung und Uebermittlung meiner Daten zu Werbezwecken oder fuer die Markt- bzw. Meinungsforschung gemaess Par. 28 Abs. 3 Bundesdatenschutzgesetz.