Difference between revisions of "EchoCode"
Jump to navigation
Jump to search
(pushed from test by wikipush) |
(pushed from test by wikipush) |
||
| Line 6: | Line 6: | ||
|author=Wolfgang Fahl | |author=Wolfgang Fahl | ||
|since=2021/01/31 | |since=2021/01/31 | ||
| − | |text=print( | + | |text= |
| + | # this is a lambda Action action | ||
| + | # it get's its context from a context dict | ||
| + | rows=context["rows"] | ||
| + | for row in rows: | ||
| + | print(row) | ||
| + | context["result"]={"message":"%d rows printed" %len(rows)} | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
=Freitext= | =Freitext= | ||
Latest revision as of 13:15, 4 February 2021
Sourcecode
| Sourcecode | |
|---|---|
| id | EchoCode |
| lang | python |
| author | Wolfgang Fahl |
| since | 2021/01/31 |
| test | # this is a lambda Action action
# it get's its context from a context dict
rows=context["rows"]
for row in rows:
print(row)
context["result"]={"message":"%d rows printed" %len(rows)}
|
| url | |