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

Milestone: 3.3.15.1
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [11495] in version: 3.3.15.1

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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