Modify ↓
Opened on Apr 5, 2017 at 4:49:01 PM
#3543 closed Feature Request (Rejected)
New example script for "Ternary" operator's help page
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Hello, I would like to propose a new example which can be added to the Ternary operator's help page.
#include <MsgBoxConstants.au3>
Example()
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)
EndFunc
Attachments (0)
Change History (2)
comment:2 by , on Apr 19, 2017 at 3:41:50 AM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Obviously there is nothing wrong with the current example.
M23
Note:
See TracTickets
for help on using tickets.

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