Skip to content

Commit a224de4

Browse files
committed
New readme
1 parent bffdbc7 commit a224de4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Combine the power of clojure with all the LibreOffice calc features!!!
77

88
ClojureCalc is a wrapper for clojure 1.6 on libre office and possibly open office.
99

10-
[Download v3.0.0](https://github.com/beothorn/ClojureCalc/releases/download/3.0.0/ClojureCalc.oxt)
10+
[Download v3.1.0](https://github.com/beothorn/ClojureCalc/releases/download/3.1.0/ClojureCalc.oxt)
1111
====================
1212

1313
![screenshot](http://i.imgur.com/JeGaBs4.png "ClojureCalc")
@@ -18,7 +18,7 @@ Usage
1818
Functions available
1919
--------------------
2020

21-
cljEval([expression])
21+
cljEval([expression];{[cell...]|[cell range ...]})
2222
cljs([expression];{[cell...]|[cell range ...]})
2323
cljn([expression];{[cell...]|[cell range ...]})
2424
cljToRange([expression];[cell text];[cell range])
@@ -31,6 +31,8 @@ To run a clojure expression just call cljeval
3131
Example:
3232
Sum of two numbers
3333
=CLJEVAL("(+ 1 2)")
34+
or with arguments
35+
=CLJEVAL("(+ {0} {1})";A1;A2)
3436

3537
Using values from other cells or cell range
3638
---------------------
@@ -65,6 +67,11 @@ Writing to a cell matrix:
6567
Using the value of a cell as the colletion:
6668
=CLJTORANGE(A6;"Another cell text";A1:C2)
6769

70+
Formatting a string
71+
---------------------
72+
As a bonus you can format a string with arguments using strfmt:
73+
=strfmt("Hello {0}";A1)
74+
6875

6976
Common issues
7077
---------------------

0 commit comments

Comments
 (0)