All I can say is "does so".
Assuming you have transcribed it correctly, I have used that exact code on an AW and it worked.
I am away from the lab right now, but later I wll post a CW project for the AW that I have tested.
Also search this forum, as there have been many recent threads on this subject.
You do realize that the code in the array must run from ram.
See search box at the bottom....