How can I make a pointer til the Memoname.
I have made 6 Memoboxes in C+Builder.
And I need to call the 6 names from the same function.
ex:
int x;
char buf[80] = "b1";
char tal[4];
for(x=1700; x<2100; x+=100)
{
sprintf(buf,"b1");
sprintf(tal,"%d",x);
strcat(buf,tal);
buf->Lines->Clear();
//Makes error here, the compiler can't figured it out.....................
}
// It nedd to post: b11700 - b11800 e.t.c
I need to call the by name, som they can be cleared.
Can't it be done, I really hope so.
Hope someone can help me,...tx
Gugge