sloopjohnc
Technical User
I need to use the objects (20 Edit objects) variable in a FOR statement, like:
{
FILE *stream;
char data[8];
{
for(int i=1; i<20; i++)
{
fgets(data, 9, stream);
Edit -> Text= data;
}
The first object name is Edit1 and the next Edit2 etc. thats why I used something like Edit[1].
Thanks! Sloop.
{
FILE *stream;
char data[8];
{
for(int i=1; i<20; i++)
{
fgets(data, 9, stream);
Edit -> Text= data;
}
The first object name is Edit1 and the next Edit2 etc. thats why I used something like Edit[1].
Thanks! Sloop.