Issue 80077 - Testtool: arrays as function parameters with and without ()
Summary: Testtool: arrays as function parameters with and without ()
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.4
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 14:10 UTC by joerg.skottke
Modified: 2008-03-12 10:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2007-07-26 14:10:37 UTC
Testtool Basic behaves differently on Linux and Windows in following case:

sub test
dim myArray( 200 ) as string
rc = testfunc( myArray )

function testfunc( anArray() as string )

On windows the test aborts with a message that the datatypes do not match, on
Linux the problem is ignored.

The fix is obvious: Use

rc = testfunc( myArray() ) instead. However, both platforms should behave
identically.
Comment 1 gregor.hartmann 2007-08-01 08:17:29 UTC
will apply next CWS
Comment 2 gregor.hartmann 2007-08-01 13:52:39 UTC
broken for testtool m50 works for current on win and linux
Comment 3 gregor.hartmann 2007-08-01 13:53:12 UTC
.
Comment 4 joerg.skottke 2008-03-12 10:53:47 UTC
closee