Modify ↓
      
        Opened 10 years ago
Closed 10 years ago
#3117 closed Bug (Fixed)
StringFormat - second parameter is optional
| Reported by: | mLipok | Owned by: | Jpm | 
|---|---|---|---|
| Milestone: | 3.3.15.1 | Component: | Documentation | 
| Version: | 3.3.15.0 | Severity: | None | 
| Keywords: | Cc: | 
Description
in HelpFile for StringFormat there is:
StringFormat ( "format control", var1 [, ... var32] )
This mean that the second parameter "var1" is obligatory ?
But in fact, it is optional, as you can use it in this way:
ConsoleWrite('Example START' & @CRLF)
Local $sText = StringFormat('\nSome \texample text\n')
ConsoleWrite($sText)
ConsoleWrite('Example END' & @CRLF)
Please consider a change in the description and adding this snippet as an example.
Attachments (0)
Change History (1)
comment:1 Changed 10 years ago by Jpm
- Milestone set to 3.3.15.1
- Owner set to Jpm
- Resolution set to Fixed
- Status changed from new to closed
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.
Note: See
        TracTickets for help on using
        tickets.
    

Fixed by revision [11495] in version: 3.3.15.1