Changeset 2163 for trunk/kBuild/doc
- Timestamp:
- Dec 30, 2008, 1:57:13 AM (17 years ago)
- Location:
- trunk/kBuild/doc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/doc/QuickReference-kmk.html
r2161 r2163 841 841 </pre> 842 842 </blockquote> 843 <p> (Mostly) BooleanFunctions:</p>843 <p>Boolean and Conditional Functions:</p> 844 844 <blockquote> 845 845 <p>Condition is false if the <tt class="docutils literal"><span class="pre">condition</span></tt> evaluates to an empty string … … 879 879 <p>Same as <tt class="docutils literal"><span class="pre">$(if</span> <span class="pre">)</span></tt> execpt that the condition is a <tt class="docutils literal"><span class="pre">kmk</span></tt> expression:</p> 880 880 <pre class="literal-block"> 881 $(if kmk-expression,true-part[,false-part]) 881 $(if-expr kmk-expression,true-part[,false-part]) 882 </pre> 883 <p>Select the first true condition (<tt class="docutils literal"><span class="pre">kmk</span></tt> expression) and expand the 884 following body. Special condition strings <tt class="docutils literal"><span class="pre">default</span></tt> and <tt class="docutils literal"><span class="pre">otherwise</span></tt>:</p> 885 <pre class="literal-block"> 886 $(select when1-cond, when1-body[, whenN-cond, whenN-body]) 882 887 </pre> 883 888 <p>Evalutate the <tt class="docutils literal"><span class="pre">kmk</span></tt> expression returning what it evalues as. This is -
trunk/kBuild/doc/QuickReference-kmk.txt
r2161 r2163 482 482 483 483 484 (Mostly) BooleanFunctions:484 Boolean and Conditional Functions: 485 485 486 486 Condition is false if the ``condition`` evaluates to an empty string … … 521 521 Same as ``$(if )`` execpt that the condition is a ``kmk`` expression:: 522 522 523 $(if kmk-expression,true-part[,false-part]) 523 $(if-expr kmk-expression,true-part[,false-part]) 524 525 Select the first true condition (``kmk`` expression) and expand the 526 following body. Special condition strings ``default`` and ``otherwise``:: 527 528 $(select when1-cond, when1-body[, whenN-cond, whenN-body]) 524 529 525 530 Evalutate the ``kmk`` expression returning what it evalues as. This is
Note:
See TracChangeset
for help on using the changeset viewer.