Good day, i am getting an error from this piece of code, can you please assist. Error says "Number of element differs from declarations "
Your assistance will be appreciated. thank you
here is the code:
unit Unit1;
interface
type
TUnit1 = record
ServerName :char;
ServerPort :integer;
ActiveFlag :boolean;
end;
const
Servers : array[boolean] of string =
('inf1', 'inf_15','inf_1 8',
'inf_22', 'inf_21', 'inf_20',
'inf_23', 'inf_26', 'inf_25', 'inf_24');
Your assistance will be appreciated. thank you
here is the code:
unit Unit1;
interface
type
TUnit1 = record
ServerName :char;
ServerPort :integer;
ActiveFlag :boolean;
end;
const
Servers : array[boolean] of string =
('inf1', 'inf_15','inf_1 8',
'inf_22', 'inf_21', 'inf_20',
'inf_23', 'inf_26', 'inf_25', 'inf_24');
Comment