Sha256: 9a42ddc3df83261ab6cb6c9da16c3123bbbf70198a05bbc19fae4e2a9464601f

Contents?: true

Size: 429 Bytes

Versions: 23

Compression:

Stored size: 429 Bytes

Contents

Testing out
some functions 
here...

.func myfunc
"Eureka!"
.end

I am calling $$myfunc here...
Let's see 
what happens.

Functions can take a parameter in brackets 
(which it can parse itself as needed):

.func mean
  list = param.split(",").map(&:to_f)
  sum = list.inject(0, :+)
  avg = sum / list.size.to_f
  avg.to_s
.end

The result is $$mean[1,2,3,4,5,6,7] as I see it.

Some functions like date and time are predefined.

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
livetext-0.9.07 test/data/functions/source.lt3
livetext-0.9.06 test/data/functions/source.lt3
livetext-0.9.05 test/data/functions/source.lt3
livetext-0.9.04 test/data/functions/source.lt3
livetext-0.9.03 test/data/functions/source.lt3
livetext-0.9.02 test/data/functions/source.lt3
livetext-0.9.01 test/data/functions/source.lt3
livetext-0.8.99 test/data/functions/source.lt3
livetext-0.8.98 test/data/functions/source.lt3
livetext-0.8.97 test/data/functions/source.lt3
livetext-0.8.96 test/data/functions/source.lt3
livetext-0.8.95 test/data/functions/source.lt3
livetext-0.8.94 test/data/functions/source.lt3
livetext-0.8.93 test/data/functions/source.lt3
livetext-0.8.92 test/data/functions/source.lt3
livetext-0.8.91 test/data/functions/source.lt3
livetext-0.8.89 test/data/functions/source.lt3
livetext-0.8.88 test/data/functions/source.lt3
livetext-0.8.87 test/data/functions/source.lt3
livetext-0.8.86 test/data/functions/source.lt3