31
Beginners / Re: Does anyone know why these code cannot be compiled by the fpc?
« Last post by Laksen on April 19, 2024, 03:04:14 pm »The proper way to initialize a record is to name each field:
A nice shortcut if you use instead the inbuilt TGuid is that you can write:
- const efi_loaded_image_protocol_guid:efi_guid=(data1: $5B1B31A1; data2:$9562; data3: $11D2; data4: ($8E,$3F,$00,$A0,$C9,$69,$72,$3B));
A nice shortcut if you use instead the inbuilt TGuid is that you can write:
- const efi_loaded_image_protocol_guid: TGuid = '{5B1B31A1-9562-11D2-8E3F-00A0C969723B}';