https://bugs.freedesktop.org/show_bug.cgi?id=60752

JPL <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from JPL <[email protected]> ---
1) If in the sample of code next lines

[code]
----------------------------------------------------------------------------------
REM --- CLASS GET/LET/SET PROPERTIES                                           
                     ---
REM
----------------------------------------------------------------------------------

Public Property Get X() As Double
   X = ZX
End Property

Public Property Let X(ByVal pValue As Double)
   ZX = pValue
End Property
[/code]

are replaced by

[code]
----------------------------------------------------------------------------------
REM --- CLASS GET/LET/SET PROPERTIES                                           
                     ---
REM
----------------------------------------------------------------------------------

Public Property Get X() As Double
   X = ZX
End Property

Public Property Set X(ByVal pValue As Double)
   ZX = pValue
End Property
[/code]

i.e. Set instead of Let, the program runs as in versions <= LO 3.6. But the
Property Set syntax is normally reserved to assigning objects to properties,
not basic values (strings, numbers, ...). Additionally Let is compatible with
VBA, Set is not.

2) The same behaviour is observed on other operating systems: same experience
for me in LO 4.0 Portable on a Windows7 platform.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to