Mercurial > repos > tabletprog
view modules/true.tp @ 339:74cab9b5f2a4
Added parseFloat64 and parseFloat32 along with a sample that exercises number parsing from a string
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 04 Apr 2015 12:34:43 -0700 |
parents | bb2b4613fdc8 |
children |
line wrap: on
line source
#{ if <- :self trueblock { trueblock: } ifnot <- :self falseblock { self } if:else <- :self trueblock :elseblock { trueblock: } not <- { false } string <- { "true" } jsonEncode <- { "true" } }