Compiler

Objects for compiling CODEX into Actions
Expression:
[ ]
CodaStatements
0
Search
Source
Run!
output
json
1
expression.setcontrolvalue('first statement')
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-PWTh0u4dOY","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
expression.setcontrolvalue('first statement')
) "}]}} }
2
thisrow.modifyrows(
output,left(123*456/789,5)
+" degrees celcius"
)
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-CA38sKJPM8","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
thisrow.modifyrows( output,left(123*456/789,5) +\" degrees celcius\" )
) "}]}} }
3
thisrow.modifyrows(output,now())
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-z1x9VHmFVX","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
thisrow.modifyrows(output,now())
) "}]}} }
4
expression.setcontrolvalue(123456789)
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-l3CvBlOOgg","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
expression.setcontrolvalue(123456789)
) "}]}} }
5
thisrow.modifyrows(output,today()+now())
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-ASQKM4j2pv","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
thisrow.modifyrows(output,today()+now())
) "}]}} }
6
sys_output.addrow(print,'first statement')
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-X8uuxAZPkb","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
sys_output.addrow(print,'first statement')
) "}]}} }
7
sys_output.addrow(print,"xxx")
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-R_X8MDyXDf","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
sys_output.addrow(print,\"xxx\")
) "}]}} }
8
thisrow.modifyrows(output,'humpty dumpty')
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-x1fKw63HT1","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
thisrow.modifyrows(output,'humpty dumpty')
) "}]}} }
9
thisrow.modifyrows(output,'red fox')
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-NnzxTSx3sC","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
thisrow.modifyrows(output,'red fox')
) "}]}} }
10
thisrow.modifyrows(output, 'xxx'),sys_output.addrow(print,"zzzz")
Run!
{"code":{"type":"action","payload":{"context":{"location":{"objectId":"grid-akZ48LWiz7","rowId":"i-T12TbGGffx","colId":"c-aTM1P69ACf"}},"type":"model","name":"RunActions","actions":[{"type":"PendingEvaluation","formula":"runactions(
thisrow.modifyrows(output, 'xxx'),sys_output.addrow(print,\"zzzz\")
) "}]}} }
There are no rows in this table

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.