2.2.3. Examples of use of the class TAttribute
The following instruction defines a pointer px to an unbounded variable x.
px = DataServer.TAttribute("x")
The following instruction defines a pointer px to a variable x bounded between 0. and 1.
px = DataServer.TAttribute("x", 0., 1.)
The following instruction defines a pointer px to a variable x bounded between -2. and 4. with \(\Delta P_{e}^{F_{iso}}\) as label:
px = DataServer.TAttribute("x", -2.0, 4.0)
px.setTitle("#Delta P_{e}^{F_{iso}}")
The following instruction defines a pointer px to a variable x that describes string
px = DataServer.TAttribute("x", DataServer.TAttribute.kString)