Hi all, i am having a noobish problem.

I have one panel that i want to change the bmap value at runtime.

Instead of defining 10 different bmaps with 10 names, I'd like to just run a loop to access the bmap from an array. I originally defined the array like this:
Code:
BMAP* pages[10] = {"page1.bmp", "page2.bmp", ..., "page10.bmp"};


but the script will not compile due to a syntax error.
So instead I tried:
Code:
STRING* pages[10] = {"page1.bmp", "page2.bmp", ..., "page10.bmp"};


and again, the script did not complile due to a syntax error.
The problem seems to be the double quotes need to be single quotes because when i changed them, it compiled however the bmap was not changed.
For some reason using this line:
Code:
story.bmap=pages[0];

the bmap is not displayed

I really want to use an array to make my life easier grin but I don't know why it's not working.