Modify ↓
Opened 9 years ago
Closed 9 years ago
#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:1 by , 9 years ago
comment:2 by , 9 years ago
| 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