|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide subtract.pro
subtract |
This procedure subtracts the data from two data containers stored in the global buffers 0-15. If no parameters are passed, then the data from buffer 1 is subtracted from buffer 0 and the result is stored in buffer 0. If two parameters are supplied, the second is subtracted from the first and the result is stored in buffer 0. If three parameters are supplied, the second is subtracted from the first and the result is stored in the third.
getrec,1 copy,0,1 getrec,2 subtract getrec,1 copy,0,10 getrec,2 copy,0,11 subtract,10,11,12 ; The data from buffer 11 is subtracted from buffer 10 ; and the result is stored in buffer 12
Parameters | |
in1 |
Input data container #1 |
in2 |
Input data container #2 |
out |
Output data container |