On 26/09/17 20:51, Marcos Douglas B. Santos via Lazarus wrote:
I understood that I can use like this:
const
VALUE: string = 'áéíóú';
Not like this:
const
VALUE = 'áéíóú';
Right?
But this is not compile:
const
V1: string = 'a';
V2: string = V1 + 'b';
You can't do that in a const declaration.
But in an implementation, the following does compile:
{$J+} {$H+}
const
V1: string = 'a';
V2: string = 'b';
V3: String = '';
begin
V3:=V1 + V2;
WriteLn(V3);
end.
--
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus