Apply Statement

The apply statement provides the means for the user to specify the access point via which a device will interact with an instrument. It is similar in syntax to the connection statement (section *) in that it makes use of the -- operator as shown in the next example:

    String string(C#5+1/2, 55 secs);
    Bow bow;
    Parameter bowPosition=0.5;
    .
    .
    
    string(bowPosition) -- bow;

If you wish to disengage the device from the specified access point you use the device method remove(). So for example:

    bow.remove();


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