[Gambas-user] Bool@(), Byte@()... functions can be the target of an affectation now.
Brian G
brian at westwoodsvcs.com
Tue Oct 11 19:55:05 CEST 2022
This is fantastic optimization. thank you!
"Failure is the key to success;
each mistake teaches us something" .. Morihei Ueshiba
Brian G
----- On Oct 8, 2022, at 5:55 PM, Gambas mailing list <user at lists.gambas-basic.org> wrote:
> 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 ]----
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221011/e2c04edf/attachment.htm>
More information about the User
mailing list