the @ operator is incompatible with delphi syntax
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
FPC error, fpc thinks i am triying to assign something but i just want a pointer to constant data and pass it to external dll function.
const
rasteriso: array[0..3583] of byte = // this is WAY too big
(
$00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00
error at the "@" operator: "can't assign values to const variables"
begin
glBitmap(8, 16, 0, 2, 8, 0, @rasteriso[(255 - i) * 16]); // Add a character to the current Display list
end;
Additional information:
Imported information
--------------------
Name: jernejl
Mail: jernejcoder (at) gmail.com
Mantis conversion info:
- Mantis ID: 838