Project

General

Profile

$true » History » Version 2

Per Amundsen, 11/16/2015 06:05 AM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*$true*
4
5 2 Per Amundsen
Returns $true, mainly used for [[/if]], [[/while]] expressions.
6 1 Per Amundsen
7
*Example*
8
9
<pre>
10
if ($true) {
11
  echo -ag expression was true
12
}
13
14
if (!$true) {
15
  echo -ag expression was false
16
}
17
18
if ($false) {
19
  echo -ag expression was false
20
}
21
22
if (!$false) {
23
  echo -ag expression was true
24
}
25
</pre>