Opened 7 years ago

Closed 7 years ago

#3543 closed Feature Request (Rejected)

New example script for "Ternary" operator's help page

Reported by: TheDcoder <TheDcoder@…> Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


Hello, I would like to propose a new example which can be added to the Ternary operator's help page.

#include <MsgBoxConstants.au3>


Func Example()
	$vBoolen = True
	$vExpression = ($vBoolen = True) ; This will evaluate to True since $vBoolen is equal to True
	$vResult = ($vExpression) ? ("$vExpression is True") : ("$vExpression is False") ; Everything inside brackets or parenthesis is an expression
	MsgBox($MB_SYSTEMMODAL, "Result", $vResult)

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Melba23

What is wrong with the current example? Why do we need another one?


comment:2 Changed 7 years ago by Melba23

  • Resolution set to Rejected
  • Status changed from new to closed

Obviously there is nothing wrong with the current example.


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 ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.