[Gambas-user] Bool@(), Byte@()... functions can be the target of an affectation now.

vuott at tutanota.com vuott at tutanota.com
Sat Oct 8 19:55:14 CEST 2022


Ah, ok.
thanks.




8 ott 2022, 17:39 da benoit.minisini at gambas-basic.org:

> Le 08/10/2022 à 17:38, Benoit Minisini a écrit :
>
>> Le 08/10/2022 à 16:50, vuott--- via User a écrit :
>>
>>> Hello Benoit,
>>> excuse my ignorance, but what does it mean those functions « be the target of an affectation » ?
>>>
>>> Regards
>>> vuott
>>>
>>
>> Now you can write:
>>
>> Integer@(Pointer) = Value
>>
>> It's the POKE instruction for those old enough to remember the BASIC of Amstrad / Commodore / ... of the good old days.
>>
>> Regards,
>>
>
> And, more important, the JIT compiler optimizes these instructions by doing a direct memory access in unsafe mode.
>
> Regards,
>
> -- 
> Benoît Minisini.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221008/d64e3c03/attachment.htm>


More information about the User mailing list