Ich habe versucht, dem Beispiel in
# 15 zu folgen. der Übersetzer nimmt keine Aufzeichnungen vor (Der Übersetzer nimmt den Code nicht; The compiler does not accept that). Ich probiere die Klasse aus. Fehler:
Code:
TBasicGroupSettings = record
path: string;
check_files_exist: boolean;
start_name: string; // first_filename
first: string; // first_filename
last: string; // end_frame
end;
// ini.basic has some general settings too
type TBasicSettings = class
is_scroll_vertical: boolean;
is_image_direction_up: boolean;
is_search_colors_HSL: boolean;
check_files_exist_A: boolean;
check_files_exist_B: boolean;
RAM_disk: string;
RAM_free: LongWord; // v MB
A: TBasicGroupSettings;
B: TBasicGroupSettings;
fps: byte;
scroll_max_shift: integer;
property basic[G:String] TBasicGroupSettings read Get_A write Set_A;
end;
[Error] constants_ini.pas(47): ':' expected but identifier 'TBasicGroupSettings' found
Code:
property basic[G:String] TBasicGroupSettings read Get_A write Set_A;