(→Example) |
m (formatting) |
||
Line 10: | Line 10: | ||
===Add data=== | ===Add data=== | ||
− | ;<code>[gn:act_addData]|[source,target]</code> | + | :;<code>[gn:act_addData]|[source,target]</code> |
− | {| class="wikitable sortable" style="font-size: 85%; text-align: left;" | + | :{| class="wikitable sortable" style="font-size: 85%; text-align: left;" |
|- | |- | ||
! scope="col" | Parameter | ! scope="col" | Parameter | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | [[source]] | + | | <code>[[source]]</code> |
| [[source]] from where the data will be used | | [[source]] from where the data will be used | ||
* Valid [[source|sources]]: | * Valid [[source|sources]]: | ||
** any [[source]] | ** any [[source]] | ||
|- | |- | ||
− | | [[target]] | + | | <code>[[target]]</code> |
| [[target]] where the data will be added | | [[target]] where the data will be added | ||
* Valid [[target|targets]]: | * Valid [[target|targets]]: | ||
** [[:Category:Variables|variable]] | ** [[:Category:Variables|variable]] | ||
− | *** [[Datatypes#pictures|pictures]] | + | *** <code>[[Datatypes#pictures|pictures]]</code> |
|- | |- | ||
|} | |} | ||
====Example==== | ====Example==== | ||
− | <code>@variable/newPictures</code> - source<br> | + | :<code>@variable/newPictures</code> - source<br> |
− | <code>@variable/allPictures</code> - target | + | :<code>@variable/allPictures</code> - target<br> |
− | <code>[gn:act_addData]|[@variable/newPictures,@variable/allPictures]</code> | + | :; ⤷ <code>[gn:act_addData]|[@variable/newPictures, @variable/allPictures]</code> |
<hr> | <hr> |
Latest revision as of 19:47, 12 July 2017
Contents
gn:act_addData
- Description
- Action used to add additional data in existing list.
- Action returns
- boolean
Action signatures
Add data
[gn:act_addData]|[source,target]
Parameter Description source
source from where the data will be used target
target where the data will be added
Example
@variable/newPictures
- source@variable/allPictures
- target
- ⤷
[gn:act_addData]|[@variable/newPictures, @variable/allPictures]
- ⤷