[fpc-pascal] Record operator for assignment
Marco van de Voort
marcov at stack.nl
Thu May 4 11:27:46 CEST 2017
In our previous episode, Ryan Joseph said:
> All structures have an automatically-generated memberwise initializer, which you can use to initialize the member properties of new structure instances. Initial values for the properties of the new instance can be passed to the memberwise initializer by name:
>
> var vga = Resolution(width: 640, height: 480)
Scripting languages often already by default initialize a datatructure, and
then such language constructs only performs additional initialization.
Pascal and similar lowlevel languages don't by default initialize them, and then whole initialization is
more logical.
More information about the fpc-pascal
mailing list