| Summary: | += doesn't work properly on function inOut string parameter | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Verified Closing this defect. |
Works as expected when parameter is an IN. Fails for when declared INOUT ... the string value becomes only the suffix. program appendTest type BasicProgram {} function main() data string = "incomingINOUT"; append(data); data = "incomingIN"; appendIN(data); end function append(str String inout) trace(str); str += "*** SUFFIX ****"; trace(str); end function appendIN(str String in) trace(str); str += "*** SUFFIX ****"; trace(str); end function trace(info string in) syslib.writeStdOut(info); end end