Label Statement

The Label statement allows the user to display text captions in the instrument visualisation window. These labels can be anchored to points on instruments so that they move as the instrument moves. This is sometimes useful to clarify visually precisely what is going on in the script. Label statements take the following generic form:

    Label (<instrument>, <x>, <xOffset>, <yOffset>,
           <caption>, <red>, <green>, <blue>);

This statement is rather ugly in its present form because of the large number of arguments but it does the job on the few occasions the user really needs to add to the automatic labeling produced by Tao.

The example below is a Label statement with real arguments:

    Label (s[4], 1.0, 0.0, 0.0, "String four", 1.0, 1.0, 1.0);


©1999,2000 Mark Pearson m.pearson@ukonline.co.uk April 30, 2000