Skip to content

Commit

Permalink
Updated doc for fun init statement and incremented version to 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anoniscoding committed Jan 2, 2019
1 parent 6e2a802 commit 6a4816a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,16 @@ <h1 id="loops"> Loops </h1>

<div class="note">
<p> Note: <br>
increments such as <strong> i++</strong> in yorlang is invalid instead use<strong> jẹ́kí i = i + 1; </strong> <br>
decrements such as <strong> i-- </strong> in yorlang is invalid instead use <strong> jẹ́kí i = i - 1; </strong>
increments such as <strong> i++</strong> in yorlang is invalid instead use<strong> jẹ́kí i = i + 1 </strong> <br>
decrements such as <strong> i-- </strong> in yorlang is invalid instead use <strong> jẹ́kí i = i - 1 </strong>
</p>
</div>
<div class="example">
<p class="example-lang"> yorlang </p>
<p class="example-one"> <strong id="loop"> fún</strong> (<strong id="condition"> jẹ́kí </strong><strong id="varName"> i </strong> =
<strong id="stringInt">0 </strong>; </strong><strong id="varName"> i </strong> < <strong id="stringInt">5 </strong>;
<strong id="condition"> jẹ́kí </strong> <strong id="varName"> i </strong> = <strong id="varName"> i </strong>+
<strong id="stringInt">1 </strong>;) &nbsp; {
<strong id="stringInt">1 </strong>) &nbsp; {
</p>
<p class="example-one"> <strong id= "condition">&nbsp; &nbsp; ṣé</strong>
( <strong id="varName"> i </strong> == <strong id= "stringInt"> 3 </strong>) &nbsp;{ <br> &nbsp; &nbsp;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yorlang",
"version": "1.1.2",
"version": "1.1.3",
"description": "A programming language with yoruba language construct",
"author": {
"name": "Anoniscoding"
Expand Down

0 comments on commit 6a4816a

Please sign in to comment.