Code: Alles auswählen
type
TStation = record
Call: string;
Location: string;
OP: string;
ST: byte; // start time
end;
var
VStations: array[0..17] of TStation = (
('4u1un', 'United Nations', 'UNRC', 0 ),
('ve8at', 'Canada', 'RAC/NARC', 10 ),
('w6wx', 'United States', 'NCDXF', 20 ),
('kh6rs', 'Hawaii', 'MARC', 30 ),
('zl6b', 'New Zealand', 'NZART', 40 ),
('vk6rbp', 'Australia', 'WIA', 50 ),
('ja2igy', 'Japan', 'JARL', 60 ),
('rr9o', 'Russia', 'SRR', 70 ),
('vr2b', 'Hong Kong', 'HARTS', 80 ),
('4s7b', 'Sri Lanka', 'RSSL', 90 ),
('zs6dn', 'South Africa', 'ZS6DN', 100 ),
('5z4b', 'Kenya', 'ARSK', 110 ),
('4x6tu', 'Israel', 'IARC', 120 ),
('oh2b', 'Finland', 'SRAL', 130 ),
('cs3b', 'Madeira', 'ARRM', 140 ),
('lu4aa', 'Argentina', 'RCA', 150 ),
('oa4b', 'Peru', 'RCP', 160 ),
('yv5b', 'Venezuela', 'RCV', 170 )
);
das geht aber:bacons.lpr(16,6) Fatal: Syntax error, "identifier" expected but "const string" found
Code: Alles auswählen
VStations: array[0..17] of TStation = (
(Call: '4u1un'; Location: 'United Nations'; OP: 'UNRC'; ST: 0 ),
...
Geht das auch anders?