Modify ↓
Opened on Feb 11, 2020 at 6:20:47 PM
Closed on Mar 9, 2020 at 8:15:46 AM
#3749 closed Bug (Wont Fix)
Example in help file is wrong (StdoutRead)
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | 3.3.14.5 | Severity: | None |
| Keywords: | Help File | Cc: |
Description
The example in the help file page for StdoutRead has two lines that I think need corrected.
This is the two lines, followed by how I think they should be corrected:
; Use StringSplit to split the output of StdoutRead to an array. All carriage returns (@CRLF) are stripped and @CRLF (line feed) is used as the delimiter.
Local $aArray = StringSplit(StringTrimRight(StringStripCR($sOutput), StringLen(@CRLF)), @CRLF)
; Use StringSplit to split the output of StdoutRead to an array. All carriage returns (@CR) are stripped and @LF (line feed) is used as the delimiter.
Local $aArray = StringSplit(StringStripCR($sOutput), @LF)
Attachments (0)
Change History (1)
comment:1 by , on Mar 9, 2020 at 8:15:46 AM
| Resolution: | → Wont Fix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Hi,
At least Under french Windows 10 your proposal is adding an empty last line.