[fpc-pascal] SIGSEGV in fpc_check_object
pascaldragon at googlemail.com
Wed Jun 14 11:18:44 CEST 2017
Am 14.06.2017 11:13 schrieb "Gabor Boros" <mlnglsts at bgss.hu>:
> 2017. 06. 14. 10:28 keltezéssel, José Mejuto írta:
>> That's wrong for sure, x is not initialized to nil, not in Linux nor in
> With the below code caption of the form not changed on Linux for me.
> procedure TForm1.FormCreate(Sender: TObject);
> if Assigned(x) then Caption:='Assigned';
In this example the content of "x" is undefined as it's a local variable.
The value of it is simply what is currently on the stack which *can* be Nil.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal