I have searched, but what I found doesn't seem to work.
all i'm trying to do is access a pointer to a non moving panel created in a for loop.

*******************************************
for(i=0;i<buffercount;i++)
{
if(mytile[i].ktype == 1)
{
//w = i;
water_pan[i] = pan_create("bmap = water.png;", mytile[i].levela);

water_pan[i].pos_x = mytile[i].posxa;
water_pan[i].pos_y = mytile[i].posya;
set(water_pan[i], SHOW);
//w_collisions(water_pan[i],i);
panel_me(i);
//test_show(*myVar);
}
/*
else
{
//w = i;
stone_pan[i] = pan_create("bmap = stone.png;", mytile[i].levela);
stone_pan[i].pos_x = mytile[i].posxa;
stone_pan[i].pos_y = mytile[i].posya;
set(stone_pan[i], SHOW);
}
*/
}
***************************************************
sorry, I can't find the code tags. and I am using a struct, because I thought that the pointer is having a hard time being placed in the while loop.

the error I get is the E1513, everytime, no matter how I phrase it.

below is only 1 of 30 different ways I've tried to access the pointer.

********************************************************
function get_pan(p)
{
var g = p+1;
PANEL* temp_pan_new[100];
temp_pan_new[g] = p;


/*
while (1)
{

if(!play_pan){beep();}
temp_nopposx = g;
if(temp_pan_new[g].pos_x <= player_pan.pos_x)
{
temp_var += .001;
}

wait (1);
}// end while 1
*/
}
****************************************************

I've got other projects where it works fine, but this one...?
I just don't get it.

thanks.


a8 commercial