Modify ↓
Opened 11 years ago
Closed 11 years ago
#3117 closed Bug (Fixed)
StringFormat - second parameter is optional
| Reported by: | mLipok | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| 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 by , 11 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [11495] in version: 3.3.15.1