3
Contributors
6
Replies
7
Views
9 Years
Discussion Span
Last Post by Clive29
1

see this example :
i write this code in pascal

[ATTACH]5318[/ATTACH]

hope this helps..

0

hi
lets say the array name is jx_man:

var
jx_man: array[1..45] of string;
counter: integer;

begin
for counter:= 1 to 45 do
begin
//initialize jx_man
jx_man[counter]:= '';
for counter:= 1 to 45 do
begin
//lets allow users to enter data
jx_man[counter]:= inputbox('enter data','my home','');
//our array will contain 45 strings
//display our array on memo1
memo1.lines.add(jx_man[counter]);

end;
end;
end;

////we have some types of arrays: 2 dimensional, 3, and even a dimensional//////

i suggest that you should go to www.nowitwiz.co.za and download the lessons.

thanks

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.