Modify

Opened 4 years ago

Closed 4 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 Changed 4 years ago by Jpm

  • Resolution set to Wont Fix
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.