[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2023-02-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

Alain Romedenne  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2023-02-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

--- Comment #5 from Commit Notification 
 ---
Alain Romedenne committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fd19bc83cfd49937da8585b9ab938b2086ecf74a

tdf#141474 tdf#151901 BASIC functions argument names do not match that of VBA

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2023-02-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.6.0

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

[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2022-11-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

--- Comment #4 from Alain Romedenne  ---
(In reply to Rafael Lima from comment #3)
> @Alain, do you think that changing this argument name might cause backwards
> compatibility problems?

Keyword arguments documentation in help in recent - when I introduced BASIC
syntax diagrams around 2020 - although discrepancies date from OOo. Such a risk
is quite limited, while supporting the same keywords as VBA provides
advantages.

https://gerrit.libreoffice.org/c/help/+/91506 added in 'keyword arguments' for
Call statement.
see
https://help.libreoffice.org/7.5/en-US/text/sbasic/shared/03090401.html?DbPAR=BASIC#bm_id3154422

tdf#147262 illustrates a recent argument name fix.

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

[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2022-11-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

--- Comment #3 from Rafael Lima  ---
@Alain, do you think that changing this argument name might cause backwards
compatibility problems?

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

[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2022-11-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

Rafael Lima  changed:

   What|Removed |Added

 CC||rafael.palma.l...@gmail.com
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Rafael Lima  ---
Indeed, both TypeName and VarType use "Var" as the argument name.

See:
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/stdobj.cxx?r=fbaf865f#869

In MS VBA the argument is called varname.

This might be a VBA compatibility issue. The code below does not work:

Option VBASupport 1

Sub TestVarName
Dim a As Integer
MsgBox TypeName(varname := a)
End Sub

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

[Libreoffice-bugs] [Bug 151901] Typename() Vartype() argument names do not match that of VBA

2022-11-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151901

--- Comment #1 from Alain Romedenne  ---
Link correction - LibO BASIC function signatures:
https://help.libreoffice.org/7.5/en-US/text/sbasic/shared/03103600.html?DbPAR=BASIC#bm_id3143267

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