Hi another question (my name really suites me
)
I need to know can we use a variable lets call it a integer variable as a part of a code
Something like this
Lable(a).caption=a;
{Its a lazarus project}
In here a means a variable integer
How to use that like that is there a way
================================
My second (some kind of a same looking) question
Can we use a string as a part of a programming code
Ex:-
b:='lable'+(inttostr(a))+'.caption';
(b):=c;
{C,a are integer}
{b is a string}
Here it doesnt work all happen is just b get = to c
Answer with example code or with a web link which can be understand easily as i was not a pro pascal programmer still, please