I'm translating some legacy stuff from another language to Delphi/Pascal. It has several arrays of variable sizes. I can't figure out how the function is declared.
Codewise, I have
There are arrays of size 7 to 90. It isn't very efficient to pass in an array of size 90 every time so I'm not sure what to do. I can't use a singly linked list as the later routines access the definition by index.
Codewise, I have
Code:
type
CustomTable = record
m_kind: integer;
m_value: integer;
m_name: array[1..16] of char;
end;
{ ,-- how do I do this bit}
function DBAdd (in_defn: array [] of CustomTable,
in_numEntries: integer);