https://bugs.documentfoundation.org/show_bug.cgi?id=165757

--- Comment #4 from Vladimir Sokolinskiy <[email protected]> ---
I think it's a good idea.

Also, it might be worth explaining the basic concepts.
Compare:

1. LO Basic ([1]):

ByRef: The argument is passed by reference. ByRef is the default.

ByVal: The argument is passed by value. Its value can be modified by the called
routine.


2. VBA ([2]):

by reference

A way of passing the address of an argument to a procedure instead of passing
the value. This allows the procedure to access the actual variable. As a
result, the variable's actual value can be changed by the procedure to which it
is passed. Unless otherwise specified, arguments are passed by reference.

by value

A way of passing the value of an argument to a procedure instead of passing the
address. This allows the procedure to access a copy of the variable. As a
result, the variable's actual value can't be changed by the procedure to which
it is passed.


[1]
https://help.libreoffice.org/25.8/en-US/text/sbasic/shared/03090406.html?DbPAR=BASIC

[2]
https://learn.microsoft.com/en-us/office/vba/language/glossary/vbe-glossary#by-reference

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to