aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHugues Evrard <hevrard@users.noreply.github.com>2019-03-26 17:04:16 +0100
committerdan sinclair <dj2@everburning.com>2019-03-26 12:04:16 -0400
commitbc902d46f3001e956e663887d093710e36051722 (patch)
treebf1afa0604ff8c64ded1391a33f843674dfcd030 /docs
parentfb6849fa9f6b13530a9ffa972d17d8a3773f6843 (diff)
downloadamber-bc902d46f3001e956e663887d093710e36051722.tar.gz
Implement AmberScript COPY command (#371)
This change introduce the COPY command to amberscript, which enables to copy a buffer content into an other buffer.
Diffstat (limited to 'docs')
-rw-r--r--docs/amber_script.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/amber_script.md b/docs/amber_script.md
index de63afd..0b108de 100644
--- a/docs/amber_script.md
+++ b/docs/amber_script.md
@@ -119,6 +119,20 @@ FILL <value>
SERIES_FROM <start> INC_BY <inc>
```
+#### Buffer Copy
+
+The COPY command copy all data, values and memory from <buffer_from> to
+<buffer_to>.
+
+```
+COPY <buffer_from> TO <buffer_to>
+```
+
+Both buffers must be declared, and of the same type.
+
+Buffers used as copy destination can be used only as copy destination, and as
+argument to an EXPECT command.
+
### Pipelines
#### Pipeline type