Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:software:qview:qview_6:qcl_library:vc10copy [2022/05/03 12:22] – [Example] qem214 | en:software:qview:qview_6:qcl_library:vc10copy [2022/05/04 11:45] (current) – [Note] qem214 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| **C = **// | **C = **// | ||
| - | The VC10Copy function copies the value from a variable to another. | ||
| + | The VC10Copy function copies the content of one variable to another one based on a variable that sets its direction. | ||
| ===== IMPLEMENTATION ===== | ===== IMPLEMENTATION ===== | ||
| - | **VC10Copy (val01, val02)** | + | **VC10Copy (dir, val01, val02)** |
| Parameters: | Parameters: | ||
| - | ^ IN/ | + | ^ IN/ |
| - | | IN | + | | IN | CONST/ |
| - | | IN | + | | IN/ |
| - | | IN | + | | IN/ |
| + | **Direction table** | ||
| + | |dir = 1| val**a** -> | ||
| + | |dir = 0| val**b** -> | ||
| === Example === | === Example === | ||
| Line 51: | Line 54: | ||
| === Note === | === Note === | ||
| - | * The function | + | * This function |