...
Even though the script commands described here were implemented for workbook and worksheet, the Delete flag is general and can be used in graphs as well. For example:
Code Block | ||
---|---|---|
| ||
//only graph4 will be kept |
...
// repeat 10 {win -t plot}; |
...
win -o graph4 {page -lw hex(400)}; |
...
doc -e P {win -c}; |
Script Example
The following script sets up a workbook with a locked data sheet, and the workbook is also protected from deletion. The OPJ can then be saved and shared with others who can view, graph, and analyze the data, but cannot edit or delete. Analysis results need to go to additional sheets, so routines such as Smooth should use settings to send output to another sheet, as the data sheet will be protected in this example from any modifications.
...