To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=111772 Issue #|111772 Summary|not all basic variables defined in argument list are p |assed by reference to a sub/function Component|framework Version|OOO320m12 Platform|PC URL| OS/Version|Windows 7 Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|ui Assigned to|tm Reported by|greglownes
------- Additional comments from [email protected] Sat May 22 15:39:25 +0000 2010 ------- this code describes the problem REM ***** BASIC ***** Sub Main dim int1 as integer dim int2 as integer dim int3, int4 as integer '<--error, int3 not passed by ref int1 = 1 int2 = 1 int3 = 1 int4 = 1 print int1, int2 'results in 1,1 as expected call test(int1, int2) print int1, int2 'results in 2,2 as expected print int3, int4 'results in 1,1 as expected call test(int3, int4) print int3, int4 'results in 1,2, <--- error End Sub sub test(int1 as integer, int2 as integer) int1 = int1 + 1 int2 = int2 + 1 end sub recreated problem on gateway laptop model NV79 running - win7, ooo320m12 (build: 9483) and - ubuntu 2.6.31.21, ooo310m19(build: 9420) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
