This macro produces the flowchart of TFormula::Eval.
void eval()
{
TText *
t4 =
pt3->AddText(
"Apply Operator to current stack values");
TText *
t5 =
pt3->AddText(
"Example: if operator +");
TText *
t6 =
pt3->AddText(
"value[i] += value[i-1]");
TText *
t7 =
new TText(6.56, 2.7,
"if i = number of stack elements");
ar1->DrawArrow(6, 8, 6, 6.2, 0.02,
"|>");
l1->DrawLine(12, 8, 6, 8);
ar1->DrawArrow(3, 5, 4.4, 5, 0.02,
"|>");
ar1->DrawArrow(7.8, 5, 8.9, 5, 0.02,
"|>");
}
Draw all kinds of Arrows.
Use the TLine constructor to create a simple line.
A Pave (see TPave) with a text centered in the Pave.
A Pave (see TPave) with text, lines or/and boxes inside.
Base class for several text objects.
- Author
- Rene Brun
Definition in file eval.C.