DOC fix incorrect variable name in example

Undefined `dataaddr` -> `dataptrarray`