mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
Update README.md
This commit is contained in:
parent
b0e8342f42
commit
c5e11a61ad
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ FCL is the programming language of an Android app called Forth Calculator. It is
|
|||
```forth
|
||||
: fib ( n1 n2 -- n1 n2 n3 ) 2dup + ;
|
||||
|
||||
: nfib ( n -- .. ) -> n ( local variable )
|
||||
: nfib ( n -- n* ) -> n ( local variable )
|
||||
0 1 { fib } n times ; ( quotation )
|
||||
```
|
||||
|
||||
|
@ -103,7 +103,7 @@ For example:
|
|||
##### while loop
|
||||
|
||||
```forth
|
||||
begin .. <bool> while <loop-body> repeat
|
||||
begin <bool-exp> while <loop-body> repeat
|
||||
```
|
||||
For example:
|
||||
```forth
|
||||
|
|
Loading…
Reference in a new issue