Data embedded in a macro


Application DATA usage

1 Application DATA tmp.dat 1 1 5 2 2 4 3 3 3 4 4 2 5 5 1 6 5 1 7 4 2 8 3 3 9 2 4 10 1 5 1 tmp.dat 3 V/READ X,Y,Z tmp.dat graph 10 X Y CW* graph 10 X Z C* 3 SHELL rm tmp.dat

  1. Application data allows to create an ASCII file. The end of the data set is marked by the file name. This is a convenient way to keep the data set and the macro together.
  2. The file tmp.dat can be read immediately after the Application DATA .
  3. The command SHELL allows to pass a command to the local operating system. Here the temporary file tmp.dat is removed (UNIX syntax).


PAW TutorialLast update: 1999/04/01 14.57
Olivier.Couet@Cern.Ch