|
Developer Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcpaircheck.pro
| dcpaircheck |
This procedure checks both data containers to see if their data arrays can be used for mathematical functions, such as dcadd, dcsubtract, etc.
get, index=1
a = data_new()
data_copy,!g.s[0],a
show,a
get, index=2
b = data_new()
data_copy,!g.s[0],b
show,b
status = dcpaircheck(a,b,msg)
if (status ne 1) then print, msg
"data containers must contain data of equal length"