Modify

Opened 6 years ago

Closed 6 years ago

#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 J-Paul Mesnage, 6 years ago

Resolution: Wont Fix
Status: newclosed

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

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.