incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120069] [StarBasic] Typed parameters are copied instead of referenced
Date Sun, 24 Jun 2012 07:57:15 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120069

brinzing <oliver.brinzing@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.brinzing@gmx.de

--- Comment #1 from brinzing <oliver.brinzing@gmx.de> ---
with "Dim x as Integer" it the result is always 13


OPTION EXPLICIT
Sub Test()
    Dim x as Integer
    x=-1
    in_out(x)
    print x
    REM prints 13 in OO 3.2 / AOO 3.4
End Sub

Sub in_out(x as integer)
    x=13
End Sub

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

Mime
View raw message