[fpc-devel] Proof of Concept ARC implementation

ListMember listmember at letterboxes.org
Mon Oct 27 08:45:09 CET 2014


On 2014-10-27 09:39, Michael Van Canneyt wrote:
>
>
> On Mon, 27 Oct 2014, ListMember wrote:
>
>> On 2014-10-27 00:00, Sven Barth wrote:
>>       On 26.10.2014 12:17, Kostas Michalopoulos wrote:
>>             On Sun, Oct 26, 2014 at 8:32 AM, Sven Barth 
>> <pascaldragon at googlemail.com
>>             <mailto:pascaldragon at googlemail.com>> wrote:
>>
>>                 Definitely not. We are in Pascal and there such 
>> directives are
>>                 placed afterwards.
>>
>> how about these:
>>
>> 1) 'record' ---> 'packed record'
>> 2) AVariable: Integer absolute AnotherVariable.
>
> Weak is a modifier, just as static, cdecl, external etc.
>
> In Pascal, modifiers are placed after the thing they modify.
>
> 'absolute' modifies AVariable. That just confirms the above rule.

To me, 'weak' is modifying the type rather than the variable itself 
(much like 'packed record').

So, it would make more sense to me if we wrote it like

FVariable: weak TSometype;





More information about the fpc-devel mailing list