Opened 9 years ago

Closed 9 years ago

#3117 closed Bug (Fixed)

StringFormat - second parameter is optional

Reported by: mLipok Owned by: Jpm
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


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('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 9 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11495] in version:

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

as closed The owner will remain Jpm.

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

Note: See TracTickets for help on using tickets.