|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide multiply.pro
multiply |
This procedure multiplies the data from two data containers stored in the global buffers 0-15. If no parameters are passed, then the data from buffers 0 and 1 are multiplied and the result is stored in buffer 0. If two parameters are supplied, they are used as indices into the global data buffers and the result of the multiplication is stored in data container 0. If three parameters are supplied, then the first two are indices into which data containers are to be multiplied, and the third is the index where the result should be stored.
getrec,1 copy,0,1 getrec,2 multiply getrec,1 copy,0,10 getrec,2 copy,0,11 multiply,10,11,12 ; The data from buffers 10 and 11 are multiplied ; and the result is stored in buffer 12
Parameters | |
in1 |
Input data container #1 |
in2 |
Input data container #2 |
out |
Output data container |